Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

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
avatar
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


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