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 am having trouble understanding #1 how to paramaterize a
userid and password that I need to call in about 25
existing scripts. I need to know how to Create a Reuseable
action for 25 existing scripts that will call the exact
same userid and password? I need to know how to create a
Reuseable action and then have it called by existing
scripts being run in a batch.

Answers were Sorted based on User's Feedback



I am having trouble understanding #1 how to paramaterize a userid and password that I need to call..

Answer / m.hemakumar

converting action into reusable action follow this
navigation

edit-action-action properties-Select resusable action check
box


RunAction "action Name",oneiteration,"userid
value","passwordvalue"


Note:
1)we have to define injput parameters in calling action

here calling action means actula action
called action is reusable action

Is This Answer Correct ?    0 Yes 0 No

I am having trouble understanding #1 how to paramaterize a userid and password that I need to call..

Answer / nagk24

first u have to parametriz from excel to datatable
datatable.importsheet"path of xl","sheetname in xl","action name in current test"
to get data from data table
dialog().winedit().set datatable("action name","clumn name")
later we can call dis action from any test
insert--->call to existing call

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is action split and the purpose of using this in qtp?

0 Answers  


Can you tell me QTP is support for GIS(Geography Information System) Based Software.

1 Answers  


what type of run time errors you get while you ar edoing rpg program?

0 Answers  


What are the differences between quicktest professional (qtp) and winrunner?

0 Answers  


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

0 Answers   ADP, CTS,


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

0 Answers  


Using Object Repository is a advantage or disadvantage?

6 Answers   Wipro,


We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario

1 Answers   HK, TCS,


what is difference betweein qtp 9.0 and 9.2

1 Answers  


What is object identification?

8 Answers   Wipro,


What is the latest version in QTP?

55 Answers   Bharti, Polaris, US Technology,


I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next

0 Answers  


Categories