How to identify the objects using descriptive programming
when the object property values are same, i mean in a page
10 objects are there i want to click the 6th object but all
the object property values are same? using descriptive
programming
Answers were Sorted based on User's Feedback
Answer / abi
If u r going to click on the 6th object, then give the
index value as 5 in the descriptive programming. For
example, if u r trying to clcik on an OK button where in
the same page, u have 10 OK buttons, then
Browser("").Page("").webbutton
("name:=OK","Class:=button","htmltag:=sumbit","index:=
5").click
this will click on the 6th OK button of the page.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / narayana
by assigning index value to each object, we can make qtp to
identify the object uniqely
| Is This Answer Correct ? | 3 Yes | 1 No |
How to modify object property in qtp ?
I've some problem in Descriptive programming plz help me. I've written in a click event code in Functional library when I run this flight reservation program It is not run. How to I write multiple click event in functional library. My program is this. I have associate an action with functional library. Public Function ClickButton(byval ApplicationName, byval WindowName, byval ObjectName, byref Comments) If Dialog("text:=" &WindowName).WinButton("text:=" &ObjectName).Exist Then Dialog("text:=" &WindowName).Activate Dialog("text:=" &WindowName).WinButton("text:=" &ObjectName).Click Elseif Window("text:="&ApplicationName).WinButton("text:=" &ObjectName).Exist Then Window("text:=" &ApplicationName).Activate Window("text:=" &ApplicationName).WinButton("text:=" &ObjectName).Click End if End Function
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
how to get font size of a "WebEdit"
Are u place all QTP Framework folders in VSS?
How to capture the text from the application using QTP?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
How can you delete the results file (XML)
How to find the OS name by using QTP script?
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH
Where to use Property Let, Property Get, Property Set in UFT