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


Please Help Members By Posting Answers For Below Questions

What is file database?

1771


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1377


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1543


Explain actions in qtp ?

632


Have you used xml check point in your project?

639






"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1551


There is an excel file of 1 to 100 sheets how you will iterate through it?

627


What is the latest version of qtp?

681


How to create runtime property for an object?

1540


What are output values and why they are used ?

701


Explain different recording modes?

676


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1554


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1818


What is the quicktest professional testing process?

669


In qtp, how you can use xpath to identify objects?

705