krishna chand peddinti


{ City } bangalore
< Country > india
* Profession * sr. qa engineer
User No # 4191
Total Questions Posted # 3
Total Answers Posted # 4

Total Answers Posted for My Questions # 7
Total Views for My Questions # 13657

Users Marked my Answers as Correct # 9
Users Marked my Answers as Wrong # 4
Questions / { krishna chand peddinti }
Questions Answers Category Views Company eMail

We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

Nous,

Scripts AllOther 1617

In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?

Nous,

1 Scripts AllOther 3824

How can we return a value from User Defined Function ? For Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b) and i am addding those 2 and storing in to another var (c). Now i want to pass that var(c) to another function (fun2). What will be the script?

Nous,

6 Scripts AllOther 8216




Answers / { krishna chand peddinti }

Question { IBM, 9306 }

Hello Guys,
Can anybody Explain me about Automation framework?? and how
can we prepareAutomation Framework using QTP


Answer

Hi,
This is very simple,
Generally we go 4 Keyword driven automation framework in QTP
For this just we need 2 create 4 files.
1.First record what ever u want and remove that script and
paste in to a note pad and make that file as a libraray
file with .vbs extension.
2. Create a recovery scenario file which u r exepceting the
exceptions with .qrs extension.
3. Create an Object Repository file with .tsr extension.
4. Create a data table file with .xls extension.

5. Combine all the above 4 files together.

Is This Answer Correct ?    4 Yes 3 No

Question { GE, 7372 }

what are the disadvantages of descriptiveprograming


Answer

-> QTP wont automatically provide the lines of code
while recording. By default QTP follows Object Repository
method.

-> Writing script for objects with multi fields proves
the line of code to be very lengthy and difficult to
comprehend.

-> DP by itself wont support smart identification, if
at any case the object identification properties wont
exactly match.

-> It is not easy to specify regular expression for
object identification if we are using DP.

-> DP is not supportive to insert checkpoints

Is This Answer Correct ?    4 Yes 1 No


Question { Nous, 8216 }

How can we return a value from User Defined Function ? For
Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b)
and i am addding those 2 and storing in to another var (c).
Now i want to pass that var(c) to another function (fun2).
What will be the script?


Answer

I don't think so Ganesh because, The same i said in the
interview, then the Interviewr said it is wrong we can not
decalre the function directly like function fun(disp).

Is This Answer Correct ?    0 Yes 0 No

Question { Nous, 8216 }

How can we return a value from User Defined Function ? For
Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b)
and i am addding those 2 and storing in to another var (c).
Now i want to pass that var(c) to another function (fun2).
What will be the script?


Answer

Hi Ganesh,

I will try for this. Thank u for sending responce once
again.

Is This Answer Correct ?    1 Yes 0 No