I want to know all general scenarios which are automated in QTP while testing Web Based application (web based testing)
Some scenario that I know are -
1. Navigation of web pages.
2. To click on link on webpage and verify that desire web page is opened.
3. To verify radio button on web page is enabled / diabled.
4. To count total no. of textboxes / links on a web page.
5. To count total items in listbox and also read all item values.
All experts I request to tell more scenarios which are automated.
Also, I have a question exactly how to verify? I mean consider scenario to verify radio button is enabled or not, I use checkproperty("enabled",1)
Then I put this into If Else loop i.e. If checkproperty returns true then msgbox radio button is enabled else msgbox radio button is disabled.
Please tell me this is correct way or not.
I feel your approach itself may not be right, you ideally should not design test scenarios per Automation.
You manual test process should be set and you can extend the same to Automation along with special cases.
So as a first step, apply testers mindset and identify the list of things that can be tested on the application, based on features, criticality, priority and other factors.
Then you can narrow them down to Automatable scenarios and non automatable if any.
All the cases you have listed above relate mainly to UI testting, so look at other areas of the application before moving on also.
Thanks Tarun and Jonty.
My problem is currently I am automating test cases for Desktop application. In future I have to move to Web Based application. So, currently I dont have regression test bed for web based application.I dont have list of test cases for web based application so I can't decide which of the test cases can be automated from it.
So, can somebody give me sample list of test cases for web based application? Thanks in advance.
Again Kaushik, identification of regression test bed is the key, there is nothing which can said for sure to fit in the bill.
UI testing scenarios can include all those you have listed
Functional testing : depends on the kind of application.
If it is access controlled, then verification for multiple profiles ...so on the scenarios can be huge but it depends on your application.
I really don't see much difference in the way one need to identify regression test cases for web or client server, except for some features which would be native to those technologies.