Interview Questions

340 views
Skip to first unread message

Manjusha Ramesh

unread,
Dec 19, 2012, 5:39:17 PM12/19/12
to qtp-ele...@googlegroups.com
Hi,
I was going through the group and saw one post which had few interview questions which I don't know, if any one can answer this, will help me prepare for the interview
1.If suppose the case the property of a field has been changed what you will do in keyword driven framework.
2. Have you used library function. What type of function library you are using? (Dynamic or static) - I have not heard about a static and dynamic function library. Can any one please explain to me.

Please help me with this

Thanks,
Manju

Manjusha Ramesh

unread,
Dec 19, 2012, 9:50:19 PM12/19/12
to qtp-ele...@googlegroups.com
I thing answer to 1st question is: I will write function script which will access those objects using descriptive programming regular expressions and index. Then I will call these functions name which I have specified in excel as keyword using driver scripts

Is this correct? Correct me or If i have to add some thing else?

Thanks,
Manju

Dinesh

unread,
Dec 25, 2012, 11:49:17 PM12/25/12
to Manjusha Ramesh, qtp-ele...@googlegroups.com
Regarding 1) You can also use store the object in object repository and use GetRO property. 

Ex) in our project we have a keyword called "Fetch_TransactionDetails" which will fetch the transaction details with reference number (dynamic value)after submit the transaction. This transaction details display in WebElement. We stored that object in object repository called "message_info"( please note mandatory property should not have innertext, value which contains run time value in the OR). From the datasheet we pass this keyword name (Fetch_TransactionDetails) and object name(message_inf) from the excel file.

2) not heard about dynamic and static function library. We maintain single function library file(qfl) for our entire project.

Please let me know if you need more details.

Regards,
Dinesh

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "QTP eLearn Team" group.
To unsubscribe from this group, send email to qtp-elearn-te...@googlegroups.com.
Visit this group at http://groups.google.com/group/qtp-elearn-team?hl=en-US.
 
 

Jitendra.S

unread,
Jan 1, 2013, 10:31:14 PM1/1/13
to qtp-ele...@googlegroups.com, Manjusha Ramesh
Dinesh/Manjusha,


1.If suppose the case the property of a field has been changed what you will do in keyword driven framework.
:-> Nothing If you are already Reuable function is present in your Function library ..
 But if not then see how many object will affect with this change of property if many then change existing
function or create one seprate function for it.


2. Have you used library function. What type of function library you are using? (Dynamic or static) - I have not heard about a static and dynamic function library. Can any one please explain to me.
;->  It all about terminology how they are using ..Dynamic function library means loading function Library
using loadfunctionlibrary "File path"   ..In run time of test.It will load in run Time so it refer as dynamic Library..

Static means from filesetting we are associating function library with action ..
 
~J~
Reply all
Reply to author
Forward
0 new messages