10-09-2012, 12:13 PM
Hi,
I am having some web elements in a page . how to select it
I am having some web elements in a page . how to select it
How to select a webelement
|
10-09-2012, 12:13 PM
Hi,
I am having some web elements in a page . how to select it
10-09-2012, 02:40 PM
Please provide info like screen shot , Object spy properties
10-10-2012, 12:14 PM
I am having a dropdown and in that i am having 8 webelements.
when i spy the dropdown it is showing as webedit inside webtable. How i need to select one value from dropdown. I tried my setting value to webedit like Code: Browser(" ").page(" ").Webtable(" ").webedit(" ").set "some value" I tried by childobjects and got the count of the webelements but is showing 6 but i am having 8 webelements and default value is select. Please help me on the same...
10-11-2012, 10:11 AM
Hi ,
Try to click on the drop down arrow , which will display as 'webelement' in qtp and then in the next statement try to validate the options or click on the option , I think even the options will displayed as 'web element'. like: Code: browser().page().webelement("The down arrow button").click end if
10-11-2012, 02:59 PM
I tired this but here i am checking the particular element exist or not. if exits clicking... other wise else case.
But for this i need to add very webelement into object repository rite... i think we cant do like this bec we will be passing the one of the value frm datatable... Suppose we are having 8 web elements we need to add 8 webelements in OR? am i thinking i rite way ? help me... Thanks in advance SilpaVinod
10-11-2012, 06:50 PM
Hi ,
No need to add them into the repository. try to use the array and descriptive programing: keep the unique property like 'innertext' in the array. Code: list_items = array("item1" , "item2" ,......"item8") Note: use the identification property like 'class' , 'html id' with the use of regular expression to identify the list items , and 'innertext' to make them unique.
10-12-2012, 03:55 PM
Ya it is working fine thanks
07-13-2014, 10:50 PM
Hi,
when i am syping the object it is showing as Webelement, i am not able to identify the object what to do?
01-05-2016, 09:01 PM
Hi, I got the following error while using UFT 12.51 :
Cannot identify the object "Create branch:new_branch" (of class WebElement) My code: Code: email_addr = "sp@xxx.com" Any help is highly appreciated.
01-06-2016, 09:47 AM
can u send page screenshot and did you try other properties
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
WebElement("WebElement").Click is not working | sia sharma | 7 | 23,954 |
09-28-2016, 08:58 PM Last Post: supputuri |