10-23-2009, 06:40 AM
Hi,
For the first question "Is there a way to parametrize " webedit("_Email") "
I can you give the better solution put all the emails in excel in first column
1. Create the test data i.e, excel with the required input and output
2. Import the datatable using datatable.import
3.eml=datatable.value(1,1)
pwd=datatable.value(2,1)
4. datatable.getrocount and use the loop like (lets say row count=4)
this is the way u can parametrize the things and then for the second question
"If my programmer decides to change the name/property of the textbox, how can i handle this so the script doesnt break?"
It would be better by changing the name and proprties in the script (ctrl+R and replace the new names and properties)
Make sure that u have to write the descriptive programing for the webedit i.e email and password then only u could change the names and properties else
if you proceed with the OR definetly u have change the title and properties in the OR too......
For the first question "Is there a way to parametrize " webedit("_Email") "
I can you give the better solution put all the emails in excel in first column
1. Create the test data i.e, excel with the required input and output
2. Import the datatable using datatable.import
3.eml=datatable.value(1,1)
pwd=datatable.value(2,1)
4. datatable.getrocount and use the loop like (lets say row count=4)
Code:
for i=1 to 4 step 1
datatable.setcurrentrow(1)
Browser("Login").Page("Login").WebEdit("_email").Set eml
Browser("Login").Page("Login").WebEdit"_password").Set pwd
Next
this is the way u can parametrize the things and then for the second question
"If my programmer decides to change the name/property of the textbox, how can i handle this so the script doesnt break?"
It would be better by changing the name and proprties in the script (ctrl+R and replace the new names and properties)
Make sure that u have to write the descriptive programing for the webedit i.e email and password then only u could change the names and properties else
if you proceed with the OR definetly u have change the title and properties in the OR too......