recording is not a good programming practice.How to write
effective script without recording.Which is the correct
method explain in detail
Answer Posted / deven
Yes, Recording is not a good practice effective scripting
is
1. Writing VB Script and Descriptive programmming
2. Use different types of Frame work in your project
3. Use Expert view for VB scripting
4. Use more Function Library
5. Use Constants (public)
6. Use Subroutine
7. Follow the Standard Programing practice
8. Use conditional, logical operator in scripting
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the short cut keys for the following?
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
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
How to test results for qtp ?
What are the two types of repositories available, explain them?
give me the code to save all messages of inbox of gmail into a folder and notepad
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
What are the different kinds of test steps?
How many types of object repository in qtp?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
What is the use of sendkeys and what are send keys
what is the structure for the data driven framework
How to import a test case present in ".xls" file to TD under a Test set?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.