I have faced one issues while doing test in QTP.

I have described the scenario below.
1. I have to test web application.In that i want to give
input of drop down values in the application.
2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to
give value from data table of QTP.
3. I have changed the drop down value as variable in Keyword
view and given values in data table "A,B,C,D,E" as one below
one.
4. While i am running the script it could not identify the
drop down value which is in Data Table.It shows message.

How to make value identify by QTP?



I have faced one issues while doing test in QTP. I have described the scenario below. 1. I have ..

Answer / kiran

Browser("Mercury Tours").Page("Find Flights").WebList("depart").Select "London"

or else by using index

Browser("Mercury Tours").Page("Find Flights_2").WebList("arrive").Select "#4"

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More QTP Interview Questions

How to use QTP for Regration testing, plz tell as with short Example of login window? plz tell as....

2 Answers  


Hybrid framework supports Descriptive programming. Is it true?

0 Answers  


can any one explain with an example how to test Web application using qtp

3 Answers  


What test you perform mostly? Regression or retesting in your testing process?

0 Answers  


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  






Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

0 Answers   Value Labs,


I am a beginner plz tell me,how do we write scripts in QTP? In my opinion we can write scipts in expert view or there is another option where we can write scripts. plz tell me.

5 Answers  


How do u do batch testing in WR & is it possible to do in QTP, if so explain?

4 Answers  


Hi Friends,I hav Just finished QTP course.Can any body suggest me which is the best place to go and post resume(Ban,Chennai,Pune,Mumbai,NCR,Kolkata).I mean how r calls in these cities,the best one?

3 Answers  


plz tel me what is the differnce between QC & QTP?

3 Answers   iGate, Satyam,


What are the flaws in water fall model and how to overcome it?

0 Answers  


Plz send one Tracebilitymatrix example? Anybody working on Realtime QTP Plz give contact deatils?

1 Answers  


Categories