on 11-05-2014 6:27 PM
I've attached two screen shots that I hope explain the problem fully but if unsure please ask for a further clarification if you think you can help.
In short I had a script that was doing some basic personas validation (is this field empty for instance) which worked fine.
I then realised that I had to cater for some standard on-screen SAP validation as well.
The SAP validation didn't kick until I 'entered' the field that I wanted to validate.
If the user didn't enter but instead just keyed info in and then [pressed the script button the SAP validation was getting missed until later in the process (too late).
So I split the script up: SAP validation, Personas Validation & and then Main Script (to do the work) - it was already split into two anyway but now it's three.
I cannot get my personas validation script to work in this context - If I use it directly it's fine but not when it's called from a parent script ... see screen shots for more details and the scripts in context.
Any insights much appreciated. I'm probably doing something stupid but I've been at this for hours and I've turned it around every way i can think of.
Regards.
Patrick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What's happening is the contents of textboxes are getting picked up by the script BUT the contents Textbox: WebGUI appear to be invisible to the script!!
Does this ring any bells with anyone?
Regards.
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Patrick,
in your screenshot 2, at which step are you populating the control id mentioned in step 11?
/personas/....eea21?
Sushant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahhhh ... Sushant .. are you telling me something?
I have not previously saved this screen field.
I am assuming that script two, called from screen 1, will have access to the same on-screen data.
I'm not switching flavours or t-codes ... everything is happening on the same screen... are you saying that a secondary script (even when referring to the same on-screen data) must be informed directly what that information (field content) is?
Regards.
Patrick
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.