there are having 10 checkboxes..how can i check only first
5 check boxes by using descriptive programing..
Answer Posted / satish
set x=description.create
x("micclass").value="WinCheckbox"
set y=Browser("title:=.*).page("title:=.*").childobjects(x)
print x.count
for i=1 to 5 step 1
x(i).set "on"
next
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
When to use descriptive programming?
Explain different types of action in qtp?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
How many types of status are there?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
When ‘option explicit’ keyword is used in qtp?
how to create flat file datasubmission in qtp
how to find that tools work well with ur existing system?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
How to use parameterization in qtp?
Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
How many types of parameters are there?
What are the advantages of parameterization ?