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
Answers were Sorted based on User's Feedback
Answer / guest
/* Replace Logical Name with Object Properties */
Dialog("text:=" &WindowName).Activate
Dialog("text:=" &WindowName).WinEdit("attachedtext:="
&applicationName).operation."Value"
Dialog("text:=" &WindowName).WinEdit("attachedtext:="
&ObjectName).operation."Value"
Dialog("text:=" &windowName).winButton("attachedtext:="
ok).click
-----------------------------------------------------------
/* Descriptive Object */
Is This Answer Correct ? | 0 Yes | 0 No |
Can any body help me to write descriptive program to find a cell value (say 2 row, 3rd column) in a datatable which is creating dynamically and statically
How we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec..
I am Using QTP 9.1 version. I have created a Shared Object Repository. The size of Shared Object REpository is 9 MB. In my system i am able to execute the script very flexibly and it is very fast. But if i copy the same code into other system with the same configuration, it is executing very slowly(i.e dam slow). It is not happening in all machines it is in only some machines. Can please any one give th esolution. It is high priority to me as i need to give demo to client on their machines.
How to use the object spy in quicktest professional 8.0 version?
How the objecs properties are identified?Tell me in Hierarchical order?
In one of the scripts the pwd in the DT was encripted. Can any one tell me how to I decript or undo the same?
As u told write Libarary files in QTP. Do u use ever oject repositary 0r spy while writing scripts and for which type of testing u prepared test scripts.
HOW TO DO THE BATCH TESTING USING QTP?
What is keyword view?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
give me the code for check point for validating application
How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent?