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 64,571 07-07-2020, 03:47 PM
Last Post: helmzshelmz
Question Split Function Chaithra N 0 1,169 12-18-2019, 11:33 AM
Last Post: Chaithra N
  Click after CheckProperty to a WebElement passed via Function argument fails naruoga 0 1,160 02-28-2019, 11:46 AM
Last Post: naruoga
  Select case is not being executed in a Function Anupama 1 1,612 05-25-2018, 11:15 AM
Last Post: Anupama
Shy Cint function in UFT rinatk 9 6,548 11-09-2015, 05:08 PM
Last Post: rinatk

Forum Jump:


Users browsing this thread: 2 Guest(s)