Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

how to parameterise in selenium

View previous topic View next topic Go down

how to parameterise in selenium

Post by kunakavitha 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

Back to top Go down

how to parameterise in selenium

Post by kunakavitha 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

kunakavitha

Posts : 4
Join date : 2009-08-19

Back to top Go down

Re: how to parameterise in selenium

Post by Adviser 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

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

Re: how to parameterise in selenium

Post by Sponsored content Today at 8:52 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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