on 04-19-2019 10:52 PM
Hello,
Trying to improve my SAP Persona script coding. Come across an issue with choosing the select option values. The script needed to choose an amount with greater than sign">" and I am not able to get it worked.
Sample code to get the select option working will be a great help.
Thanks
John
I am still not able to get it worked. Please see below the script that i am trying to make it work.
session.callTransaction("fchn"); session.findById("wnd[0]").sendVKey(0); session.findById("wnd[0]/usr/ctxtSEL_ZBUK-LOW").text = "FIX"; session.findById("wnd[0]/usr/tabsTABSTRIP_CHK/tabpUCOMM1/ssub%_SUBSCREEN_CHK:RFCHKN10:0001/ctxtSEL_WAER-LOW").text = "USD"; session.findById("wnd[0]/usr/tabsTABSTRIP_CHK/tabpUCOMM1/ssub%_SUBSCREEN_CHK:RFCHKN10:0001/txtSEL_RWBT-LOW").text = "200"; session.findById("wnd[0]/usr/tabsTABSTRIP_CHK/tabpUCOMM1/ssub%_SUBSCREEN_CHK:RFCHKN10:0001/txtSEL_RWBT-LOW").setFocus(); session.findById("wnd[0]/usr/tabsTABSTRIP_CHK/tabpUCOMM1/ssub%_SUBSCREEN_CHK:RFCHKN10:0001/txtSEL_RWBT-LOW").executeWebRequest("post", "action", "2", "cursorobj=M0%3A46%3A1%3A2B277%3A%3A5%3A34&cursor=0", null); session.findById("wnd[1]/usr/cntlOPTION_CONTAINER/shellcont/shell").executeWebRequest("post", "action", "53", "row_index=4&column_index=1", null); session.findById("wnd[1]/usr/cntlOPTION_CONTAINER/shellcont/shell").setFocus(); session.findById("wnd[1]/usr/cntlOPTION_CONTAINER/shellcont/shell").executeWebRequest("post", "action", "44", null, null); session.findById("wnd[1]/usr/cntlOPTION_CONTAINER/shellcont/shell").executeWebRequest("post", "action", "147", "row=4", null); session.findById("wnd[1]/usr/cntlOPTION_CONTAINER/shellcont/shell").executeWebRequest("post", "action", "47", "rows=%3B4%3B", null);
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.