If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...
Answer Posted / brahma.quality
systemutil.Run "iexplore","http://www.computerhope.com/jargon/c/checkbox.htm"
Set odesc=description.Create
odesc("micclass").value="webcheckbox"
Set Child= Browser("title:=What.*").Page("title:=What.*").ChildObjects(odesc)
CheckboxesCount= Child.count
For i=0 to CheckboxesCount-1
Child(i).set "on" ' clicks all checkboxes in the given page
Next
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
How many types of recording modes in the qtp?
Mention the test steps of qtp.
What is data driver in qtp? Where we use it?
What is recovery scenario manager? When you go for recovery scenario manager?
What are main panes available in qtp test browser?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
How to create a standard checkpoint ?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
Give the syntax to import/export xls into qtp.
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
what is the diffrence bw qtp architectute and qtp framework?
What are the general steps involved in the data driven framework?
What is the difference between a Function and Action in QTP?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
what is error and fault in terms of software quality?