Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check validations on a form
#1
Solved: 10 Years, 10 Months, 1 Week ago
Hi all
I have just started exploring QTP.I need to automate a Add user functionality .On the Add User form i have some validations like,Email,pwd,first name ,lastname etc are rquired.
Email format ,password format,first name and last name cannot have special charecters etc.

What is the best way to automate thsi kind of functionality?


Please help!
Reply
#2
Solved: 10 Years, 10 Months, 1 Week ago
You application must be returning some kind of message/error if you enter data with a special characters.

So you just need to enter the values into the fields and check for the error message.
if the application accepts the values with a special character in the fields then your test case should be failed.

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can we test Salesforce Standard form using QTP? yona34 0 954 05-22-2018, 10:57 AM
Last Post: yona34
Question Strange form, cant get it marvson 0 1,368 05-12-2016, 07:35 PM
Last Post: marvson
  How to pass a date from Excel sheet to web form revati.shendure 1 2,846 11-27-2014, 11:54 AM
Last Post: revati.shendure
  Form testing with UFT12 renukant@gmail.com 3 3,020 05-23-2014, 04:09 PM
Last Post: excellentpawan123
  Problem with Jquery Form fahelo 0 1,673 04-08-2013, 11:23 PM
Last Post: fahelo

Forum Jump:


Users browsing this thread: 1 Guest(s)