Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Hello friends..... On which areas of an application we can not test with QTP

2067


How is a Step generator used in UFT?

1204


How to find the difference between 2 dates in qtp?

1038


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 ,

1863


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

1250


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1934


How many tabs are available to view your test in a test pane and what are they?

1065


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)

2012


Discuss quicktest professional environment?

1067


What is the difference between keyword view and expert view?

1060


How you can make an action as re-usable action?

1120


Is it possible to call win runner script in qtp?

1068


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!!!

2900


in my application,validation message has in japanise language.how to validate this message is appears properly or not

2044


Where to use Property Let, Property Get, Property Set in UFT

821