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
wht type of User defined functions or Java Releated functions do we write in VB scripting
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
Explain how Selenium is different from UFT?
desribe a situation where u faced a stressful situation and how did u cope with it
How to write business scripts using object repository with different scenarios
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
What is a reusable action?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
They asked by using qtp recording writing scripting
when will you do debug your script? and explain that process?
Should have experience in framework means?
Does Low-level recording capture mouse movements?
how will you check how many members visited the website www.infosys.com?