Answer Posted / guru
'Count the Number of Edit box
Set Desc = Description.Create()
Desc("micclass").Value = "WebEdit"
Set EditBoxes = Browser("").Page("").ChildObjects(Desc)
MsgBox "Number of Edits: " & EditBoxes.Count
By using above code you can find the count for no of
edit boxes in a page.
Correct me if i am wrong.
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
In qtp, how you can get the last character from a string?
What are the different types of recovery operation?
What is the expert view?
Key word driven framework
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
What is checkpoint in qtp?
What is a quick test professional?
Are Shared ORs read-only?
how to test Web application using QTP software
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
Discuss quicktest professional (qtp) environment?
How to use output values in qtp ?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",