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
Answer Posted / 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 |
Post New Answer View All Answers
How do you create new test sets in td?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
How to change the priorities of the recovery scenario properties?
how to create flat file datasubmission in qtp
How you create new action in qtp?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
how to find that tools work well with your existing system?
Explain in brief about the quicktest professional (qtp) automation object model?
Explain the features of quick test pro(qtp)?
What are the different types of action?
what is the structure for the data driven framework
UFT 12.02 which ALM version will support
What is the difference between per-action and shared?
How to associate shared object repository to test in qtp?
Mention the different actions types of qtp.