Inserting a Call to Action is not Importing all columns in
Datatable of globalsheet. Why?
Answer Posted / mercy
As the call is to an Action, the data in the Global sheet
will not be available. Only which are necessary for the
Action like repository, action's sheet will be imported. So
the test's global sheet and its data will not be available
in the calling test.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All 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
How to capture a window in QTP?
can u explain relative path architecture framework in qtp?
How to create a standard checkpoint ?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
What is the purpose of loading qtp add-ins?
How to add synchronisation points in qtp?
what is the hierarchy to use properties in descriptive programming
Explain hybrid framework with advantages and disadvantages?
Why script error occur in between recording in qtp?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
when a test case is written how u test using qtp
What is a checkpoint? How many check points are there in qtp?
What are the features supported by UFT?
What is action?