- blackeyed
- Posts : 2
Join date : 2014-03-13
Using already open window
Thu Mar 13, 2014 11:36 pm
I am newbie to selenium and trying to write a test script to for browser based application.
1) Login to app using user id and password.
2) Login to Database and required account no.
3) Search account no.
I have written 4 java classes.
a) LoginDo.java to open the browser with required URL.
b) ConnectDB.java to connect to DB to get correct account no.
c) AccountSearch.java to search the account in already open brower.
d) TakePayment.java calls above three in this sequence.
Is there anyway i can achieve this. Any help would be great.
I can post code of these classes if required.
1) Login to app using user id and password.
2) Login to Database and required account no.
3) Search account no.
I have written 4 java classes.
a) LoginDo.java to open the browser with required URL.
b) ConnectDB.java to connect to DB to get correct account no.
c) AccountSearch.java to search the account in already open brower.
d) TakePayment.java calls above three in this sequence.
Is there anyway i can achieve this. Any help would be great.
I can post code of these classes if required.
- blackeyed
- Posts : 2
Join date : 2014-03-13
Re: Using already open window
Fri Mar 14, 2014 9:17 pm
thanks guys i got it sorted by the handler from main class to others.
- How to open new window or new tab in browser using Selenium IDE
- how to select(get focus on) new window after clicking link in existing window
- When I open a new window,it raise error time out in firefox .
- How to open a link in another tab of the same window using Selenium webdriver using Java code?
- How to shift the focus from one window to another window and proceed the action in Second window?
Permissions in this forum:
You cannot reply to topics in this forum
|
|