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

who QTP recognizes the object stored in object repository?

2099


How to test background color and dynamic images during run time can you put the check point for moving objects?

1931


What are advantages of test automation?

1144


Give me some real time point of way where exactly we can conduct audits?

1907


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?

1935


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

1898


Dis advantages of XML checkpoint ?

2017


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

2171


write the vb script for call to new action in qtp?

2289


If created one virtual object? Next time I changed the window position will it work?

1041


Output values? i want a practical example

1760


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1929


how u will evaluate the tool for test automation?

1861


What is method name to compare two XML files.

1980


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1756