in Qtp,how to display user name and pwd (script)in data
table(global sheet).
Answers were Sorted based on User's Feedback
Answer / deepa
Datatable("name",dtglobalsheet)=
dialog("login").winEdit("Name").getRoproperty("text")
Datatable("password",dtglobalsheet)=
dialog("login").winEdit("password").getRoproperty("text")
Correct me if I am wrong
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / akshara
i don't know it is correct are not but using output values
it is easy do like this.
Window("text:=Login").Activate
Window("text:=Login").WinEdit("Text:=Agent Name:").Output
CheckPoint("Agent Name:")'and select praperty as text
same for password you will get
Is This Answer Correct ? | 0 Yes | 1 No |
keyword driven framework having how many folders? explain folders in detail?
What is the diff between doing parametarisation using Data Driven wizard or manually. when do we go for manual para...and when do we use Data driver wizard..can anybody answer it ..Thanks in advance
How will u integrate oracel with QTP?
I am verifying the actual vs the input value to make sure that they been entered correctly. In the Global Sheet I have a column called Customer with the multiple names in each row and now I am trying to capture the value during runtime under the column name Customer_in_Apps. Somewhat it works but during runtime the values are being stored in each column vs each row i.e., Customer_in_Apps, Customer_in_Apps1. Automatically it add columns instead of rows. row=datatable.getsheet("Global").GetRowCount for x=1 to row datatable.getsheet("Global").SetCurrentRow(x) Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Val1=Datatable.Value("Customer",dtGlobalSheet) Val2 = Datatable.GlobalSheet.AddParameter("Customer_in _Apps",runtimevalue) If (trim(Val2)=trim(Val1)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &_Val2 else Reporter.ReportEvent micFail, "Customer validation unsuccessful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &Val2 End If Next
Can we write winrunner language i.e TSL in QTP tool?
How to create runtime property for an object?
Do we get any issues if we run the test script on differentbrowsers?what are the options we need to set in QTP?
what are the parameters you are considering for object identification?
Why you have to add the specific add in in QTP? My answer is to recognize the specific objects we have to add the add-in in QTP...but he asked again after adding addin how qtp recognize the objects successfully? what is there in the add-in ?
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it
Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma
What does mean by Scope of Automation?n How we defined it?