Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Problem when trying to handle a browser
Problem when trying to handle a browser [message #1700860] Tue, 07 July 2015 17:23 Go to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hello,

I have a problem when a try to use this command

get-view "Package Explorer" | get-tree | select cloudhubproject | get-menu "CloudHub/Deploy to CloudHub..." | click
with [get-window -class WebLogin | get-control Browser ]{
// get-object | invoke evaluate "document.getElementById('user').value='hello"
}

RCPTT gets frozen and I have to kill the process.. the test never stops..
Do you know what I am doing wrong? Maybe i have forgotten some important parameter.

Re: Problem when trying to handle a browser [message #1702043 is a reply to message #1700860] Fri, 17 July 2015 20:34 Go to previous message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
I could do it using this expression:
with [get-window -class WebLogin | get-control Browser] {
get-object | invoke evaluate "document.getElementById('user').value="hola";
}


Hope it helps

Agustin Celentano

[Updated on: Sat, 18 July 2015 00:38]

Report message to a moderator

Previous Topic:Super group context does not match group context values properly
Next Topic:Move test case with referenced items to another project
Goto Forum:
  


Current Time: Thu Apr 25 10:39:57 GMT 2024

Powered by FUDForum. Page generated in 0.02845 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top