For parameterization you need to create js file
For eg. Js file contains
var username=new Array("parameterization1@mailinator.com","parameterization2@mailinator.com");
var password=new Array("parameterization1","parameterization2");
Sample script for parameterization
I tried above example and added user extensions : data.js and goto_sel_ide.js file for while loop .But the test case doesn't run
ReplyDeleteWhich user extension we should be adding for while loop ?
ReplyDeleteAre you getting any error??
ReplyDeleteThe same extension will be used for while loop..
[info] Executing: |store | 0 | looptimes |
ReplyDelete[info] Executing: |while | storedVars.looptimes <=1 | |
[error] Unknown command: 'while'
i hanged here, it is not identifying while command, Please help us.
For while command you need extension - goto_sel_ide.js file, you can get it from
ReplyDeletehttp://wiki.openqa.org/pages/viewpageattachments.action?pageId=379&metadataLink=true
I want to use loadTestData command from which extension I can get this.
ReplyDeleteAlso for Data Driven testing I tried installing flow-control, include4d and data driven extensions but I am getting exception error. Please help me out on this.
ReplyDeleteGreat job, thanks, it helped me a lot :)
ReplyDeletethanks dear
ReplyDeleteHow do I do exactly for parameterization in IDE?
ReplyDeleteFor parameterization, I want to get the values from excel or csv file, how can i get it in Selenium IDE. ??
ReplyDeleteCan anyone suggest that how to do parameterization in sel ide?
ReplyDeleteI want to pass 2 or more id for login.
Is this possible?
Thanks in advance!!!
Post itself gives idea about parametrization..Please have a look in detail.
DeleteThrew an exception: username is not defined
ReplyDeleteAm getting above error .. Is anyone help me ?
Have you uploaded JS file with required input?
ReplyDeletePlease check initial part of Post for reference.
HI,
ReplyDeleteI have modified the code for more than 2 users when the user log-in the page; each user has different contents specified for it.Using the above code data.js and goto_sel_ide.js. It only considers 1st user skips the rest ,it is stuck in loop keeps showing user1 log-in.Could you please advise what can be done here.