How to fetch web elements count from Google Page which
contains letter "e"
Answer Posted / gyanesh ranjan rout
Set oBrowser=Browser("name:=Google").Page("title:=Google")
Set objDesc=Description.Create()
objDesc("MicClass").value="WebElement"
objDesc("innertext").value = ".*e.*"
set tot=oBrowser.ChildObjects(objDesc)
x=tot.count
msgbox(x)
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
what are the mandatory properties for a tex boxc (scenario?)
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
Write a QTP script to enter a keyword in to Google search engine?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
how to disable the pop ups through QTP using a script
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
What are the different attribute used with regular expression?
How will you check that your test cases covered all the requirements?
How to use setroproperty?
what is the advantages and disadvantages of using functions instead of re usable actions
Is it possible to change the values of analog recording?
How do know the number of browsers opened?
Why is action split used by qtp?
how do i know how to use tools