Script To Load Library Files into Test in QTP at RunTime

QTP Script to load library file at run time in particular test.

But before that just check this post where we loaded library file into test through Navigation

Open notepad and paste the following code

Function f1
msgbox "first function"
End Function

Function f2
msgbox "second function"
End Function

save notepad as fff.vbs in C drive.

We created library file,now we have to load this file into our test through script.

Syntax:ExecuteFile "path of file"

ExecuteFile "C:\fff.vbs"

The above statement loads library file into our test.

If u want to call function in the test just write function name.

f1
f2

QTP Script to Get Count of Unread Yahoo Messages

Descriptive Programming to find number of unread messages in yahoo mail

SystemUtil.Run"iexplore","http://www.yahoomail.com"
Set g=Browser("name:=Yahoo.*").Page("title:=Yahoo.*")
g.WebEdit("name:=login").Set "xyz"
g.WebEdit("name:=passwd").Set "abc"
g.WebButton("name:=Sign In").Click
a=g.Link("name:=Inbox.*").getroproperty("innertext")
b=len(a)
If b=5 Then
Msgbox"u have zero unread messages"
else
c=mid(a,8,len(a)-1)
d=left(c,len(c)-1)
msgbox "number of unread messages=" &d
End If

Kabhi Kabhi Aditi Zindagi Song Lyrics



Lyrics of Kabhi Kabhi Aditi Song from Movie Jaane Tu Ya Jaane Na.
Music Composed by AR.Rahman.



See Masakalli Masakalli Song Lyrics Here

Check This Site For Other Movie Songs Lyrics

Kabhi kabhi Aditi zindagi mein yuhi koi apna lagta hai
kabhi kabhi Aditi wo bichad jaaye to ek sapna lagta hai
aise mein koi kaise apne aansuoonko behne se roke
aur kaise koi sochde everything's gonna be ok
kabhi kabhi tho lage zindagi mein rahi naa khushi aur naa mazaa
kabhi kabhi tho lage hardin mushkil aur harpal ek sazaa
aise mein koi kaise mushkuraaye kaise hasde khush hoke
aur kaise koi sochde everything gonna be ok

Soch zara jaaneja tujhko hum kitna chathe hai
rotein hai hum bhi agar teri ankhon mein aansu aate hai
gaane to aata nahi hai magar phir bhi hum gaate hai
hey Aditi maan kabhi kabhi saare jahan mein andhera hota hai
lekin raat ke baad hi tho savera hota hai
kabhi kabhi Aditi zindagi mein yuhi koi apna lagta hai
kabhi kabhi Aditi wo bichad jaaye to ek sapna lagta hai
hey Aditi hasde hasde hasde hasde hasde hasde tu zara
nahi to bus thoda thoda thoda thoda thoda thoda muskura

Tu khush hai tho lage ke jahan mein chaayi hai khushi
suraj nikle baadlon se aur baatte zindagi
sun tho jara madhosh hawa tujhse kehne lagi
ki Aditi wo jo bichhadthe hai ek na ek din phir mil jaate hai
Aditi jaane tu ya jaane na phool phir khil jaate hain
kabhi kabhi Aditi zindagi mein yuhi koi apna lagta hai
kabhi kabhi Aditi wo bichad jaaye tho ek sapna lagta hai
hey Aditi hasde hasde hasde hasde hasde hasde tu zara
nahi to bus thoda thoda thoda thoda thoda thoda muskura

Check Here For Telugu Latest Hit Songs Lyrics
SQL Queries Collection
Check This Site For Movie Songs Lyrics
Jaane Tu Ya Jaane Na Other Songs Lyrics
Rab Ne Bana Di Jodi Song Lyrics
Ghajini Song Lyrics
Jab We Met Songs Lyrics

Descriptive Programming for Orkut Login

Descriptive Programming for Orkut Login

Systemutil.Run"www.orkut.com"
Set a=browser("name:=orkut.*").page("title:=orkut.*")
a.webedit("name:=Email").set"abc"
a.webedit("name:=Passwd").set"123"
a.webbutton("name:=Sign in").Click
a.Link("name:=Logout").Click

Descriptive Programming for Yahoo Mail Login

Descriptive Programming for Gmail Login

Nice Thoughts(1)













Beautiful Flowers

Related Posts Plugin for WordPress, Blogger...