How to fetch web elements count from Google Page which
contains letter "e"
Answer Posted / aiswaryan
'Try below code
Set oelement=description.Create
oelement("micclass").value="WebElement"
set elements=Browser("Title:=Google").page
("Title:=Google").ChildObjects(oelement)
cnt= elements.count
For i= 0 to cnt-1
elementname=Browser("Title:=Google").page
("Title:=Google").WebElement
("micclass:=WebElement","index:="&i).getROproperty
("innertext")
Next
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
What is the pros and cons between QTP and Rational Robot
When ‘option explicit’ keyword is used in qtp?
What is the use of sendkeys and what are send keys
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
What is system testing and what are the different types of tests you perform in system testing?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
What is use of object spy?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
Give the syntax to load function at run time.
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
How you can decide which type of object repository you have to use?
What are test settings and global settings?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
after initiating one project for testing, when exacltly QTP tester role starts?