Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3530

Re: Case of 'Enter' and Status Bar messages

$
0
0

Thanks, Sushant!

 

1. Doesn't sees to work that way, Enter still proceeds to next screen :/

 

2.

session.findById("wnd[1]/tbar[0]/btn[0]").press(); //press search

 

if (session.findById("wnd[0]/sbar").text=="") {

  session.findById("wnd[1]/tbar[0]/btn[0]").press(); //additional pop-up confirmed

  session.findById("wnd[0]").sendVKey(0); //enter to continue to next screen

  if (session.findById("wnd[0]/sbar").messageNumber=224) {

  session.findById("wnd[0]").sendVKey(0); //enter to continue to next screen if vendor is not confirmed

  };

} else if (session.findById("wnd[0]/sbar").text="I: No values for this selection") { // actions if no such vendor found after hitting search button

 

3. So you mean that if entering value in the same field the hidden objects will not appear back automatically, I should include them in script with .show() property?

 

Thanks, Diana


Viewing all articles
Browse latest Browse all 3530

Trending Articles