-1

I am able to click on Email link but not able to enter the username and test Complete shows "Waiting until the control is activate" only.

var UserName = returnScreenPortal().ParentalLockViewNavigator.LoginForm.Username;
UserName.Click(180 , 40);
UserName.Keys("jcasale@rosettastone.com");
var Password = returnScreenPortal().ParentalLockViewNavigator.LoginForm.Password;
Password.Click(180 , 40);
Password.Keys("password");
Dmitry Nikolaev
  • 3,803
  • 2
  • 19
  • 23
Rock
  • 131
  • 1
  • 1
  • 9
  • You can edit your question and add to it the code you wrote in your comment. It will be easier to read (and help you) that way. – Lea Cohen Feb 16 '15 at 10:58
  • When TestComplete clicks the button, does a new window appear in the tested application? Does TestComplete continue executing the test if you close this window manually? – Dmitry Nikolaev Feb 16 '15 at 13:31
  • @DmitryNikolaev : No new window open and yes if i close the browser window execution continues – Rock Feb 19 '15 at 07:50

1 Answers1

0

I think that you are facing the situation that is described in the Calling Methods Asynchronously help topic. You need to click the email link asynchronously using the CallObjectMethodAsync method as it is described in the topic.

Dmitry Nikolaev
  • 3,803
  • 2
  • 19
  • 23