ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
Hi all , I am new at QTP I want a sample script to check
validation messages(For java script or VB script) for login
page with for web based application.. Any one can Help. I
have to complete it in two days I need urgent help..

Ex. if I want to check mail.yahoo.com
1 > If user doed not exist it display "Username does not exist"
2> if invalid Uname and password then it display" Invalid
Uname or pass"

3> Loing Sucssessfully.

I want to check this types of application by using data
table to give values of username and password..

Thanks
 Question Submitted By :: Dhruv
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hi all , I am new at QTP I want a sample script to check validation messages(For java script or VB script) for login page with for web based application.. Any one can Help. I have to complete it in two days I need urgent help.. Ex. if I want to check mail.yahoo.com 1 > If user doed not exist it display "Username does not exist" 2> if invalid Uname and password then it display" Invalid Uname or pass" 3> Loing Sucssessfully. I want to check this types of application by using data table to give values of username and password.. Thanks
Answer
# 1
Open()(It is a function to open the application)
Browser("Browser").Page("Gmail: Email from Google").WebEdit
("Email").Set "User id"
Browser("Browser").Page("Gmail: Email from Google").WebEdit
("Passwd").SetSecure "************"
Browser("Browser").Page("Gmail: Email from 
Google").WebButton("Sign in").Click
If Window("gmail").Exist then
reporter.ReportEvent 0,"Checking Login","details given are 
correct"
Window("gmail").close
Else
Browser("Browser").Page("Gmail: Email from 
Google").WebButton("Sign in").Click
Browser("Browser").Page("Gmail: Email from 
Google").WebButton("Sign out").Click
reporter.ReportEvent 1,"Checking Login","details given are 
not correct"
end if
 
Is This Answer Correct ?    2 Yes 0 No
Amjad
 
  Re: Hi all , I am new at QTP I want a sample script to check validation messages(For java script or VB script) for login page with for web based application.. Any one can Help. I have to complete it in two days I need urgent help.. Ex. if I want to check mail.yahoo.com 1 > If user doed not exist it display "Username does not exist" 2> if invalid Uname and password then it display" Invalid Uname or pass" 3> Loing Sucssessfully. I want to check this types of application by using data table to give values of username and password.. Thanks
Answer
# 2
Advanced QTP training from Automation Infotech pune
(9970927917) 
HP Quick Test Professional (QTP In-depth concepts + VB 
Scripting + Descriptive Programming + Framework Development 
+ Certification) Training


Automation Infotech is a leading software training company 
from Pune. specialized in software testing started Manual 
Testing, QTP Certification and QualityCenter training. 
Trainer is QTP certified from HP Having 4+ years of exp and 
working as a Module Test Lead with MNC. The main objective 
of Automation Infotech is to provide quality training in 
testing for the candidates looking to explore their career.
-------------------------------------------------------
Please find below the QTP training details.
Training: QTP Certification and Framework based Training 
with QTP Certification Sample Paper.
Duration: 4-6 weeks
Fee: 6000
------------------------------------------------------
Please find below the Manual Testing training details.

Training: Manual-testing training, with real time example 
and project based.
Duration: 2-3 weeks
Fee: 2500
------------------------------------------------------------
-
Please find below the QualityCenter training details.

Training: QualityCenter training, with real time example 
and project based.(User and Admin both)
Duration: 2-3 weeks
Fee: 3500
------------------------------------------------------------
-------
Only Weekend batches
Timining: 10 am to 1pm
Trainer: Certified QTP Trainer with 4+ years of project exp.
Venue: Warje, Pune
Note: Each batch will only have 4-6 members. Please inform 
to all your friends, who are looking for Quality Training 
in Testing.
For more details, email us at: 
AutomationInfotech@gmial.com/9970927917

We are shortly opening New branches in Viman Nagar, Aundh, 
Deccan, Swaragate, Kotrud, Karve Nagar and Hadafsar.

Other locations are Bangalore, Chennai, Nagpur, Mumbai, 
Ahemadabad.
 
Is This Answer Correct ?    0 Yes 1 No
Rohit
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
normally by going through the object properties in object spy we write descriptive programming(correct me if i am wrong). But how or from where can we get the object properties in the object spy?plzzzzzz do answer  2
how do check the links in a webpage ? Accenture4
How to retrieve value (data) from notepad using QTP ?  3
one page contain next button.when we enter that its not going to next page.what type of error that one. TCS1
how to load vbs file to qtp through scripting. plz provide the code..... IBM1
what are the mandatory properties in qtp? what are the library functions in qtp? Wipro3
For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that ............. Satyam3
In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?  2
How to get Links count in an web application,without descriptive programming?  7
What are the Automation Limitations??  1
Can we use Virtual Objects in Discriptive Programming? Keane-India-Ltd3
tell me types of environment variables? what r they? explain details? pls give anwer any one? IBM2
what are inputs for automation?  1
can somebody send the script to write a multiplication table in notepad through qtp AppLabs2
can we run the scripts of qtp 8.2 in the qtp7.0?  2
if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND ADP4
What are the recording modes and executing modes avialble in QTP? Polaris3
1)Difference Between Value & RawValue? Wipro1
suppose by navigation i went from 1st page to 5th page write a script for coming from any page to the 1st page abd by executing where the page may be . it will come to 1st page give the code using gmail. give me mail id so that i can under this answer with out any doubt  1
Why do you choose only QTP for your project automation among remaining tools like Rational robot and silk test? CTS1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com