i have opend 2 gmails i am working with 1 gmail i want to
close other gmail by usig script.
2.i have 10 links in a page all of them have same
properties& names i want to click on 5link by using script.
3.i have one combobox in that i want to see all the
citynames in the combobox and i have to check weather
hyderabad is present or not.
4. size of objectrepository.
5.what r problems we get during writing the script.
6.is it possible to compare to excel sheets in qtp if
possible wht is the script.
7.example for lowlevelrecording
Answer Posted / sha
2. set Odesc=description.create
Odesc("miccalss").Value="Link"
set bro=Browser().Page().childobjects(Odesc)
Bro.count
for i=1 to 5
browser().Page().Bro(i).click
next
3. item=bro().Page().getroproperty("all items")
arr=split(item,";")
for i= 1 to ubound(arr)
if arr(i)="Hyderabad" then
reporter.reportevent micPass,Hyderabad,present
exitfor
Endif
next
4. Depends on the machine
5. Object properties will get change,Identifying the propery values etc
6.DataTable.Importsheet "path of excel file"sourcesheetname,Destination sheetname(global)
External sheet is in Global sheet and which u want to compare keep in action sheet then write if condition and check if get match with both global n action make it pass...
7.Signature
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
diff between qtp versions from 8.5
What is contained in the object repository?
How to export quicktest professional (qtp) results to an .xls file?
how to idetfy which test cases are automated?who will deside that plz tell me
When you open QTP, how many sheets you can see?
When using descriptive programming?
When do go for loop condition in test?
How do you configure QTP AND Test director?
What is the basic concept of quicktest professional (qtp)?
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
banking project description for software tester
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
How to capture a window in QTP?
what is the difference between data driver & data driven and driver script?
What is the meaning Work bench?