Share
Go down
kunakavitha
Posts : 4
Join date : 2009-08-19

how to parameterise in selenium

on Fri Aug 21, 2009 10:00 am
hi,
i need to parameterise...trying to search for some help but not very well explined and i am some more confused..

below is the script,

open
/test/tfav8/admin/tfa_level/tfa_level_index.php?xf_mode=ADD



type
txt_level_code
test


type
txt_level_name
test


clickAndWait
tfa_levelBtnSave



type
txt_level_code
next


type
txt_level_name
next


clickAndWait
tfa_levelBtnSave





In QTP can use the excel and pump in data ...how do i do here..how to parameterise the field..."txt_level_code" and how to call the excel sheet with data

pls help

kavitha
kunakavitha
Posts : 4
Join date : 2009-08-19

how to parameterise in selenium

on Fri Aug 21, 2009 10:01 am
hi,
i need to parameterise...trying to search for some help but not very well explined and i am some more confused..

below is the script,

open
/test/tfav8/admin/tfa_level/tfa_level_index.php?xf_mode=ADD



type
txt_level_code
test


type
txt_level_name
test


clickAndWait
tfa_levelBtnSave



type
txt_level_code
next


type
txt_level_name
next


clickAndWait
tfa_levelBtnSave





In
QTP can use the excel and pump in data ...how do i do here..how to
parameterise the field..."txt_level_code" and how to call the excel
sheet with data

pls help

kavitha
avatar
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: how to parameterise in selenium

on Fri Aug 21, 2009 11:04 am
Hi,

For parametrise in IDE you have to write your own user extenstion in javascript and call in IDE. It is difficult , if you don't know javascript.

But in RC it is much easier to create a parameterise. You can use array , list , xml or Excel to store your data. But for excel you have to work with excel API which is also demand hard work.

It is upto you which method you find suitable. For more help, check out this thread
http://seleniumforum.forumotion.net/selenium-rc-discussion-f4/parameterise-you-login-page-using-java-t42.htm?sid=5ac7a1388faff08ba6d3f2f9b0e13415

Hope this will help you
bye
Sponsored content

Re: how to parameterise in selenium

Back to top
Permissions in this forum:
You cannot reply to topics in this forum