window - Cannot get focus on new opened tab with selenium IDE -


i'm trying create web test selenium ide. have 1 problem when click on javascript link opened new tab. need perform check on new tab can't focus still in main page. tried several things i'ad search on google without succeed works. hope can me.

thanks in advance.

update:

so tried several things , tink i'm on way.

i can windows names :

storeallwindownames names echo names=${name}

i have like:
, 987dfg4545sdfgsd

it seems value before "," null default page , other value name of page.

but i'm not able open selectwindow.

does know how should ??

thanks in advance.

more info selenium tests:

<tr>     <td>setspeed</td>     <td>1000</td>     <td></td> </tr> <tr>         <td>selectwindow</td>     <td>null</td>     <td></td> </tr> <tr>     <td>click</td>     <td>link=show tree...</td>     <td></td>     </tr>     <tr>     <td>storeallwindownames</td>     <td>names</td>     <td>array</td> </tr> <tr>     <td>echo</td>     <td>${names}</td>     <td></td> </tr> <tr>     <td>waitforpopup</td>     <td>${names}</td>     <td>30000</td> </tr> <tr>     <td>selectwindow</td>     <td>name=${names}</td>     <td></td> </tr> <tr>     <td>clickandwait</td>     <td>link=search</td>     <td></td> </tr> 

results:

* [info] executing: |setspeed | 1000 | | * [info] executing: |selectwindow | null | | * [info] executing: |click | link=show tree... | | * [info] executing: |storeallwindownames | names | array | * [info] executing: |echo | ${names} | | * [info] echo: ,bdae1e119a367a54 * [info] executing: |waitforpopup | ${names} | 30000 | * [error] timed out after 30000ms * [info] executing: |selectwindow | name=${names} | | * [error] window not exist. if looks selenium bug, make sure read http://seleniumhq.org/docs/04_selenese_commands.html#alerts-popups-and-multiple-windows potential workarounds.  

where bdae1e119a367a54 dynamic value want get.

i found mach done not works me return null

http://old.nabble.com/how-can-i-access-the-second,-third..-element-of-a-stored-array--td9393201.html

whether feature works may depend on browser driving.

i suggest try different browser.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -