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

What are the various automation frameworks available in qtp?

1024


What are the types of object repositories? Which one is you are using?

1238


Explain the differences between table and db checkpoints?

1042


Explain hybrid framework with advantages and disadvantages?

1117


Explain about the test fusion report of quicktest professional?

997


How to use reporter.report event in qtp ?

1085


What is the syntax for how to call one script from another?

1096


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

2103


How to build scripts that access data from external sources?

2182


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

1160


How many types of parameters are available in quicktest professional (qtp)?

1088


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

2131


What ate the Technologies supported by QTP?

1201


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1970


What are the general steps involved in the data driven framework?

1073