can any body give the code to write the function for given
suppose user login with usrer id and pwd to yahoomail.after
cliking "sign in"if it is valid user id the next page will
display userid'message box.( Note u have to use excel sheet
to retrive the userid's data)
Answer Posted / bfakruddin
Hello Mr.Badri,
Script is good,
if anybody don't know scripting they will feel difficult to understand your script, please reduce complexity while answering, here no need to use always reporter events you can display with msgbox or with print statements.
How do you think this is correct validation,
--> you get the user name from excel sheet and placed in user name field.
--> you get the text available in user name field again
--> validating these two values.
no test case will be fail if you do testing like this.
you forgot one more thing you have to click Sign In button with out doing this how could you conclude that the user is valid or not....!
Once you get Home page or mail box page then you can conclude that user name is valid
or
If you don't get any error msg or popup after clicking on Login In then also you can ensure that the user is valid.
If anybody want me to give code, I will give.
above code also correct but some what complexity...!
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
wht must be the interview question on corinthian information technology solutions incorporated.
What is sql loader? Explain the files used by sql loader to load file?
How to add actions in driver script to run those actions in QTP?
Which operator can be used to change the value of the operand or change the state of the condition?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
what is the difference between modular and data and keyword driven framework
What is the event handling in vbscript?
Which in-built function is used to format the number in the vbscript language?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
How will you compare two strings in vbscript?
What is purpose of scripting.filesystemobject class in vbscript?
write a program to display configuration of a local system with the help of vb script.
What is the purpose of on error resume next statement?
How to open excel in vb script?