on 03-07-2016 4:01 PM
I'm trying to hide a label and a field using a script.
I find if the label/field I'm trying to hide look like this :
ses[0]/wnd[0]/tbar[1]/btn[35]
or
Personas/6fcfbfc5-966f-44b6-9420-e51dee6890c5
the script works perfectly and the label/field hides with no problems.
however if the object I'm trying to hide looks like this -
ses[0]/wnd[0]/usrUSRAREA/subcntSCREENSAPLWB2A0251/tabstripSTRIPT_AH_HEAD/tabpageHEADER_SUBSAPLWB2A0145/subcntTRADESAPLWB2B_SCREEN_HANDLING0101/subcntCUSTOMER_DATASAPLWB2B_SCREEN_HANDLING8001/subcntCUSTOMER_DATASAPLZRAC_GTM0100/frameBOX2/lblWBHKPLANGEWINN
then nothing happens.
What am I missing?
Hi,
I can see you are trying to hide a control on a Tab dynamically using script. It looks like that you should first use script to select the right tab, then do the hiding. When handling tabs, the screen actually can be different. Make sure you are dealing with the right tab UI first.
Hope this helps.
Dong Zhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
still can't get this to work...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.