Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calling a function in a Test Script from a function library
#3
Not Solved
Hi ,

I have created a a gmail login function and saved in function library of qtp.
Code:
gmaillogin (sUserName,sPassword)

How to call this in test..Please tell me the code..i am new to qtp..
i am calling like :
"
Code:
sUserName = "email id"
sPassword ="xxxx"
Function gmaillogin (sUserName,sPassword)

"
Please let know the code is right or not
Reply


Messages In This Thread
RE: Calling a function in a Test Script from a function library - by inderjeetqtp - 06-16-2015, 05:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Split function in string nidhishnair 13 63,633 07-07-2020, 03:47 PM
Last Post: helmzshelmz
Question Split Function Chaithra N 0 1,034 12-18-2019, 11:33 AM
Last Post: Chaithra N
  Click after CheckProperty to a WebElement passed via Function argument fails naruoga 0 1,038 02-28-2019, 11:46 AM
Last Post: naruoga
  Select case is not being executed in a Function Anupama 1 1,458 05-25-2018, 11:15 AM
Last Post: Anupama
Shy Cint function in UFT rinatk 9 6,130 11-09-2015, 05:08 PM
Last Post: rinatk

Forum Jump:


Users browsing this thread: 1 Guest(s)