![]() |
| |||||||
Testing Anywhere Post messages and questions related to Testing Anywhere here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
To check the values in specific fields that only appear when a certain value is selected from a dropdown list; you have to script that specifically using a If condition Then action(s) End If branch within your test script. Code: If valueToSelect = "MyDesiredValue1" Then
Place the test script actions for these specific fields here
End If
If valueToSelect = "MyDesiredValue2" Then
Place the test script actions for other specific fields that appear now.
End If |
| |||
|
Hello, In addition, to test the existence of a web control on webpage, you can use 'Insert Check Point: Web Object Exists' command. You can capture the specific control using Advanced options of command. We have attached a sample test case for your reference. Hope that helps. |
| |||
|
The challenge with the selected web page is that the fields are already present in the page but their style display attribute is set to none making the field invisible to the user but not to the software. When scripting a webpage it does help to take a look at the source of the webpage. Right click on the page and then select View Source. You will find the following HTML line Code: <tr id=companyRow style=display:none> Please see the attached zip file for reference. |
![]() |
| Thread Tools | |
| Display Modes | |
| |