one ok button and one text box is there.when i click on ok
button in that text box one no. will display from 1 to 100
randomley.if that is not 100 when we click on ok button
again ,again another text box ll created with another no.
we will continue this till the text box created and
displays 100.and when its 100 ok button should disabled.
remember thet no will display not seriely ,it displays
randomley,and each time new text box will created.
Answer Posted / abc
for i=1 to 100
Dialog("aaa").WinButton("OK").Click
a=Dialog("aaa").WinEdit("Name").Winbutton
("OK").getroproperty("visible")
If a.Exist then
Reporter.reportevent 1,"WinButton","WinButton Exist"
Else
Reporter.reportevent 0,"WinButton","WinButton does not
Exist"
End If
Next
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Have you used xml check point in your project?
when will you do debug your script? and explain that process?
When to use shared and local object repository?
In qtp, how you can use xpath to identify objects?
please any one can explain the keyword driven framework. with gmail example.
What Folder Structure following in Keyword Driven Frame work?
Explain in brief about the quicktest professional automation object model?
How to find the path of folder in which the test is saved in qtp?
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
How does QTP identify an object?
1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins
How qtp identifies objects?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
Explain the types of object repositorys in qtp?
banking project description for software tester