recording is not a good programming practice.How to write
effective script without recording.Which is the correct
method explain in detail
Answers were Sorted based on User's Feedback
Answer / rajanikanthreddy
In qtp we are having descriptive programmming..with using
object properties and values qtp idintify the objects
ex...browser("name:=google").page("title:=google") like
that we are identifying object...here we are not using any
memory(repository) this is use of descriptive
programming...try it
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / 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 |
Answer / srini
Question is wrong..How can recording is not good practice ?
It's always depends up on the application under test.If the application is stable like SAP, or desktop applications, Descriptive programming is time killing..recording is much easier and time saving..
| Is This Answer Correct ? | 0 Yes | 0 No |
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
What is the differnce between action & script
How can I generate customized logs in QTP ?
what is the Command used to start the QTp from Run.(start-> Run)
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.
In qtp what type of data tables are used , name and list out them
I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
how do u import the test cases written in excel sheet to qtp? and how do u generate the script in qtp for the testcase in excel sheet? plzzzz do answer this question thanks in advance
can i compare two databases using QTP ?
for example u can take ebay or plifcart online shoping web application--------- write acode in vbscript in qtp---- search box and write (iphone6)and click on go button then opened diff prise iphones in next page but u can select 30,000 to 90,000 list pls write code?
2 Answers FFASVA, Genpact, Wipro,
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?