Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calling Function from another function
#1
Solved: 9 Years, 8 Months, 3 Weeks ago
Hello,

Can anyone please help how to call a function from a function.

I have created a simple function:

Code:
Function dropdownselect()
' This function performs a shell script to select a particular item from the drop down.
If value found then
return 1
Else
return 0
End if
End Function
Now I want to access dropdownselect from another function which is using different weblist options but it doesnt like it if I am calling dropdownselect() directly and it jumps to the next step without doing anything. I am not sure the reason of this behaviour, but please if anyone can help me to call the function.

Thanks in Advance,
Anshika

Please note that when I used this function directly in a Test then it worked -- it just doesnt work when called from another function.
Reply
#2
Solved: 9 Years, 8 Months, 3 Weeks ago
This is working now - I used the functional call with different calling mechanism.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT 14 - how to disable function run on mouse move, during debugging anand01_05 2 1,974 01-11-2019, 02:33 PM
Last Post: anand01_05
  How to trigger a function/recovery scenario on clicking stop button anand01_05 0 1,202 01-03-2019, 02:54 PM
Last Post: anand01_05
  Using Variables for calling a method in a class chitu576 0 1,752 12-05-2014, 12:31 AM
Last Post: chitu576
  Date function mahbub798 1 2,241 03-27-2014, 07:27 PM
Last Post: Ankur
  Can User Defined Function be Written in .txt file? nomankhanhyd 2 3,207 05-14-2013, 03:20 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)