|
Follow the below given steps to insert the desired function in the script:
Choose the script from the tree node in which you want to insert the function.
Choose the Insert Function option from the script editor toolbar options.
You should choose the category to which the function belongs. Based on the selected category, the functions list will be populated.
Then, choose the desired function.
Click on the hand icon present next to the Functions combo box. This will place the focus on the browser in which you are recording the Web page. Choose the required element from the Web page whose property you want to read. Ensure that you choose the same type of element based on the function you have chosen, i.e., if you have chosen editGetInfo function then choose a text object.
Based on the object you have chosen, the appropriate properties will be listed in the list box labeled "Property". Select the required property to be verified.
Click on the button "Paste" which will insert the selected function statement at the cursor location.
Find the list of functions and their purpose here.
Note: You can also Insert Single Checkpoints using Function Generator.
|