New answers tagged

2

After getting idea from Tango199 answer, I modified his solution and have now implemented below code (once ComboBox is found): HtmlListItem html_listItem = new HtmlListItem(html_comboBox); html_listItem.SearchProperties.Add(HtmlListItem.PropertyNames.ValueAttribute, str_Value); html_listItem.Select(); where str_Value = Value Attribute (like 7311, 7312) as ...


2

(This was meant to be a comment, but I do not have enough rep to do so) If you can find the ComboBox within your page, you should be able to iterate over all of the different options. If you can do that you should be able to check the ValueAttribute within the option. Once you find the option that you would like to select, you should be able to set the ...


0

From my experience with such error messages, I create a wrapper to input the text. It's helpful when input HTML elements have changed eg validation frame that disappears. You can add Clear input at beginning for further improvement. Input Type Flex [Arguments] ${locator} ${text} [Documentation] write text letter by letter ...


0

My robot tests broke completely when updating firefox from 44.0.2 to 45.0.2. With selenium server 2.49.0 FF 44.0.2 still works fine. Latest version of selenium-server 2.53.0 also does not work with my robot tests. Although I think it's down to the Selenium2Library needing an update...


0

Use this xpath for your selection //md-select[contains(@id,'select')] Contains function use for finding containing values. Refer This Let me know If any query.


3

According to The WebDriver Sampler: Your Top 10 Questions Answered article the information can be obtained from Selenium Changelog, for instance for Java client libraries: v2.52.0 ======= Firefox: Weakening platform restriction to enable 64-bit support Fixing closed window handling in FF45 So my expectation is that version 2.52 ...


1

I'm not sure about -most- stable but I'm running it with the latest version of Firefox (45.0.1) and none of my scripts have stopped working.


0

Like Peter Masiar said, you'll do it the same way you would do it manually. Record the steps you manually perform to complete this. (ex: (1)Select column A filter and enter value, (2)Select column B filter and enter value, etc. etc. Finally, Click on result) Write the automation code to complete these actions. Step (2) is going be highly dependent on the ...


0

Click on elements (locate them by any appropriate means) in webdriver exactly like user does. If you know how to do it by hand, make webdriver to perform same actions. If you do not know how to do it by hand, learn how.



Top 50 recent answers are included