mgroen
14 years agoFrequent Contributor
Get and "translate" the value of an object property (of type: Innertext)
Hi,
working on a project now, I need some assistance.
What I do is, create a new file in our web application. This file is identified by a number (generated by the system itself). I want to re-use this number , in another script, to edit this file. Therefore, I need to save the filenumber (generated by the system) into a variable, so I can call the file with the variable.
The filenumber (in this example) is: 440020498
In the object spyder it can be retrieved by the "Innertext" property (see attached screenshot).
The point is I cannot seem to get this number to put it in a variabele. Probably, because (I think) it is an object and not a number (not sure if this is the cause).
Is there any good approach? By the way I am using keyword tests (in combination with some code snippets)
Please advice in this exercise.
working on a project now, I need some assistance.
What I do is, create a new file in our web application. This file is identified by a number (generated by the system itself). I want to re-use this number , in another script, to edit this file. Therefore, I need to save the filenumber (generated by the system) into a variable, so I can call the file with the variable.
The filenumber (in this example) is: 440020498
In the object spyder it can be retrieved by the "Innertext" property (see attached screenshot).
The point is I cannot seem to get this number to put it in a variabele. Probably, because (I think) it is an object and not a number (not sure if this is the cause).
Is there any good approach? By the way I am using keyword tests (in combination with some code snippets)
Please advice in this exercise.