Selenium scripts are not running in visual studio
I have written sample code in selenium with c #.net using Nunit framework.But when i execute script Test cases keeps loading and not finished with results. script is able to launch the url thats it after that no script running and test explorer keeps loading.
See also questions close to this topic
is there a way to combine C# files with Java?
Im working on a Smash Bros. Brawl-based game. I need to parse some 3d models that are in ".dae" format, the ideal thing would be to migrate everything to java, but for reasons of time I have decided to use the game's libraries (which are written in C#). Is there any way to use those C# files for java to use? or in any case, does anyone know any parser of collada in java?
Putting 2 different data values, where the data comes from serial port, into an array
I have an hardware which sends the Temperature and Humidity values in a row via serial port. For example (25 celcicus degree and 47% humidity);
25 47 25 47
so it keeps sending like this.
And I'm receiving these values using this code:
data = serialPort.ReadLine();
datavariable changes its value every receive cycle. And I want to keep these values in an array and refresh them. First value (temperature) must be in the array with the index of 0 and same for second value (humidity) with the index of 1.
Is there any way to do it?
But once I choose from DropDownList (AUTOPOSTBACK)
The calendar does not work and date can only be entered manually If I interpret the page, the board will work.
How do I get over it?
<asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:TextBox ID="Year" CssClass="form-control bj" runat="server" placeholder="FROM"></asp:TextBox>
Of course I use UPDATE PANEL What should be written in MANAGER SCRIPT
How to verify html5 Validation with selenium python
I am trying to verify a validation, can be seen here https://groups.google.com/forum/#!topic/webdriver/sUy6IKpQsHw, this link is not mine but I want to verify this text
Please fill out this field., or any other better idea ? how to verify it
What I did is as below
msg = self.driver.find_element_by_id("username") print(msg.get_attribute("value")) time.sleep(10) assert msg.get_attribute("value") == "Please fill out this field."
Print has given following output
> print(msg.get_attribute("value"))and assert has given
AssertionError, I have been through many answers non helped me
[print(msg.get_attribute("value").values)to see whats there and it has given following error
AttributeError: 'unicode' object has no attribute 'values'
I am sorry I am new to stackoverflow. Any help will be appreciated, already spent 3 hours on it but no luck
Selenium Webdriver-> Click Facebook share button for the post i want
I am facing the problem in identifying and clicking on share button for a facebook post. Suppose, i have 4 posts on my Facebook page. I am looking to click share and then 'share...' from small pop window for any of the 4 posts i want.
I have tried several methods but it is not working. Can you please help me? Thanks
How to get value of content attribute from span class using Selenium and python
My diction is going to be wrong, so forgive the misnomers. I'm looking for the text of the "content" within the span class:
<span class="rating-label" content="5">
I'm looking for "5"
But I do not receive the "5" back anywhere in that text.
I've also tried
I've checked the other questions about this, but if I missed one feel free to show me.