In Keyword driven frame work you have write 30 test case for one scenario,in which 10 test cases are failed while executing.client asked you to execute only the failed test cases. HOw can you execute only failed test cases

Answer Posted / lakshmi

As per my understanding on your question, in keyword driven
framework, we have driver sheet which contains all the
testcases names with an indicator(Y/N). Here Mark the
indicator as "Y" only for the failed 10 scripts.so that the
driver script will read those testcases(which are marke
as "Y") and execute those testcases.

I hope this suffice your question. If there is any
deviations, please let us know, we will try to provide
answer.

Thanks,
Lakshmi

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ways you can synchronize?

585


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

1338


What is the use of ordinal identifier in qtp?

608


Can U Explain about QTP tool from older version to latest version also its differences?

1516


How to record a qtp script ?

562






Where can I find and view run-time data table?

528


How do you delete unwanted results in qtp?

604


What are the recording modes in qtp?

583


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1557


Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?

1229


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

1827


what frame work you are following?

1526


Write a script to customize the test results in PDF and HTML format.

2086


Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

2169


how to test load test and block box testing an a web based application pls give ans briefly

1358