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

In QTP whether is it possible to call a function from one
action to another action?

Answer Posted / sandeep

Do more simple thing.

Store any function in any .vbs file.

Either link that .vbs file as a Resouce to QTP.

Or

Dynamically link .vbs file with QTP usign

ExecuteFile <file path >

Once either of the step is done then you can call any
function stored in .vbs file

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?

3938


Have you faced any problems with object repository?

1021


In qtp, how you can use xpath to identify objects?

1029


what is the difference between modular framework & datadriven framework

2038


How to execute a winrunner script in quicktest professional?

982


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

1045


how to evalute defects in QTP script?

1944


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1836


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3865


Mention the different actions types of qtp.

981


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1895


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

1698


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?

1862


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

2508


What is the syntax to call one script from another?

1000