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 / nn
syntax error?- 2 if's used an 1 end if
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hello friends..... On which areas of an application we can not test with QTP
How is a Step generator used in UFT?
How to find the difference between 2 dates in qtp?
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
How many tabs are available to view your test in a test pane and what are they?
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
Discuss quicktest professional environment?
What is the difference between keyword view and expert view?
How you can make an action as re-usable action?
Is it possible to call win runner script in qtp?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
in my application,validation message has in japanise language.how to validate this message is appears properly or not
Where to use Property Let, Property Get, Property Set in UFT