Quantcast
Channel: SCN : Discussion List - Scripting Languages
Viewing all articles
Browse latest Browse all 325

Identifying tables/popups in SAP

$
0
0

Hello,

 

I would like to know how I can identify object that appears in SAP. Based on data entered I have different situations where tables popup. Currently as a work around I just write button clicks even if they dont appear, however it slows down whole process, so I was wondering if there is a way to identify if popup appears and only then apply the action.

 

For example in below situation, after focusingthe input to the field, I apply 2 other actions that are not necessarily needed. Is there a way to identify popped up objects?

    

  for x = 0 To keycount_Enter              

            session.findById("wnd[0]").sendVKey 0   - FOCUS ACTION       

            session.findById("wnd[0]").sendVKey 0  ' not always needed

            session.findById("wnd[0]/usr/btnBUT2").press  ' does not always appear

 

BR,

Gedis

 

Edit. Table picture as below for example

table.png


Viewing all articles
Browse latest Browse all 325

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>