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
What are the properties of regexp object?
Explain vbscript in detail?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Explain the arrays in vb script?
How will you get the last occurrence of one string within another string using vbscript?
What is the use of option explicit statement?
How will you convert a string to lower case string using vbscript?
How many types of operators are available in the vbscript language?
What is select case statement?
How can constants be declared in the vbscript language?
What is byref and byval parameters in vbscript?
Mention how to create a cookie using vbscript?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
Explain the adodb.stream class?
why variable name should not exceed 255 characters?