lakshmi


{ City }
< Country > india
* Profession *
User No # 53766
Total Questions Posted # 0
Total Answers Posted # 8

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 21
Users Marked my Answers as Wrong # 17
Questions / { lakshmi }
Questions Answers Category Views Company eMail




Answers / { lakshmi }

Question { TCS, 20864 }

What expansion of "MIC" in MICPASS (TEST ReportPAGE)


Answer

MIC: "Mercury Integer Constant"

(while we r using Reporter.ReportEvent
,,)

* For user Friendly Error Msgs we will use
Reporter.ReportEvent..... *

Is This Answer Correct ?    0 Yes 4 No

Question { TCS, 20864 }

What expansion of "MIC" in MICPASS (TEST ReportPAGE)


Answer

MIC - Mercury Integer Constant

Is This Answer Correct ?    0 Yes 5 No


Question { Ordain Solutions, 7810 }

how do you run scripts in QTP?please anyone can answer my
questions


Answer

In QTP 3 Run Modes Available

Normal Run Mode(simply Press f5/use Run Option)
Maintenance Run Mode(Using Controls Further u can...)
Update Run Mode

Is This Answer Correct ?    0 Yes 0 No

Question { 10786 }

How to call Datable values in the QTP program.
exp: I have two parameters like Email id and Password
this two i would like to add multiple entries in the datable
to use it.
What is the difference between Gobal/Action datatable


Answer

Call DtValues in Qtp:-

(Ur data Present in Dt(Global/Action Sheet first u verify)
nd Then proceed with this script...

dim rc
rc=DataTable.GetSheet("Global/Action").GetRowCount
for i=1 to rc
Datatable.setCurrentRow(i)
invokeapplication "Give Flight appPath"
Dialog("Login").WinEdit("AgentName").set
DataTable("Email id","Global")
Dialog("Login").WinEdit("PWord").set
DataTable("Password","Global")
Dialog("Login").WinButton("OK").click
Window("FR").close
DataTable.SetNextRow
Next

Diff in Datatable:(As ur Req u can ...)

By Default Setting For Global sheet is:
Run For Multiple Iterations
By Default Setting For Action sheet is:
Run For One Iteration Only

Is This Answer Correct ?    2 Yes 0 No

Question { Virtusa, 16171 }

write script for finding number of broken links in web page?

kindly please answer my question.


Answer

To find no:of links present in any open web page:-
************************************************

dim br,pg,objbr,objpg,linkcoll,lcount
br=Browser("micclass:=Browser").GetRoProperty("name")
pg=Browser("micclass:=Browser").Page("micclass:=Page").
GetRoProperty("title")
set objbr=description.create
set objpg=description.create
set odesc=description.create
odesc("micclass").value="Link"
objbr("name").value=br
objpg("title").value=pg
set linkcoll=Browser(objbr).Page(objpg).ChildObjects(odesc)
lcount=linkcoll.count
msgbox lcount

Try it...

Is This Answer Correct ?    3 Yes 7 No

Question { HealthAsyst, 8039 }

i have string "I LIKE INDIA"..how to i get LIKE from the
sting..


Answer

Mid Function we have to use here

U must take care of spaces also

so,Mid(str,3,4)

3-> starting position
4-> length

Is This Answer Correct ?    3 Yes 0 No

Question { HealthAsyst, 11202 }

write script to read and write data from file ?


Answer

First u create obj for file
set fso=createobject("scripting.filesystemobject")
set =fso.opentextfile("FileName",[IOMode],[create])
IOModes 1-Readonly Create-True
2-Write False
8-append
Readline,writeline...use to access the data.

Is This Answer Correct ?    6 Yes 1 No

Question { HealthAsyst, 9501 }

what is life cycle of automation testing ?


Answer

-> Test Planning

->Analycis Appl Under Test

->Setup Test Environment

->Generate Basic Tests

->Enhancing Tests

->Debug The Test

->Run Tests

->Analyze Results

->Report Defects

Is This Answer Correct ?    7 Yes 0 No