|
|
|
|
I faced this question in interview
|
|
01-20-2010, 12:35 AM
Post: #1
|
|||
|
|||
|
I faced this question in interview
we have 3 different site and has same button suppose sign in but all 3 sites have different properties what will be approach in QTP. Plese help me i a new in QTP |
|||
|
01-20-2010, 10:32 AM
Post: #2
|
|||
|
|||
|
RE: I faced this question in interview
Hi epo2l,
your query is not clear enough, would you like to elaborate a bit? Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
01-20-2010, 12:26 PM
Post: #3
|
|||
|
|||
RE: I faced this question in interview
(01-20-2010 10:32 AM)Saket Wrote: Hi epo2l, Thanks for replying .I am trying to explain a bit more .i have some product and we sell on 2 different sites .on web we go kid section and choose boys same we do on other site . we are doing same thing but when we record they have different properties and we r trying we can use same action for both of link how can ? I hope it can help to explain |
|||
|
01-20-2010, 05:19 PM
Post: #4
|
|||
|
|||
|
RE: I faced this question in interview
you should use descriptive programming here
something like - .weblink("text:=link","html tag:=A") Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
02-03-2010, 09:38 PM
(This post was last modified: 02-03-2010 09:42 PM by bfakruddin.)
Post: #5
|
|||
|
|||
|
RE: I faced this question in interview
Hi,
I got your question. We have a two sites... we have to perform same action on both of sites but using a one action / Function... they don't have similar properties. We have a solution that... the property values which are not same in both of sites are passing as input parameters to Function or Action. Using those properties in that Action/Function and perform that Action. I hope you got it. If you don't, Let me know (01-20-2010 05:19 PM)Saket Wrote: you should use descriptive programming here Hello Saket, I got your answer we use mostly descriptive on webapplications. But as per your question the property values you are providing are not changing dynamicallly then how it works on two different sites. He said that we have only one action to perform action on two sites. Please let me know. If I am wrong. D.Baba Fakruddin |
|||
|
02-05-2010, 10:42 AM
Post: #6
|
|||
|
|||
|
RE: I faced this question in interview
That depends, you will have to observe the test objects and properties for both the sites.
if it can be regularised then can be done with a single action only. in my earlier reply, i assumed the text will be same on both sites and that was just an example
Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
02-12-2010, 05:54 PM
Post: #7
|
|||
|
|||
|
RE: I faced this question in interview
We can pass properties to a function for constructing the .Weblink(...) depending on the site we are accessing.
In run time we shall create the object by using DP. |
|||
|
02-19-2010, 12:48 AM
Post: #8
|
|||
|
|||
RE: I faced this question in interview
(02-12-2010 05:54 PM)MahalakshmiDevi Wrote: We can pass properties to a function for constructing the .Weblink(...) depending on the site we are accessing. You could simply use checkpoints that verify other objects or wording on the page itself. I am assuming the pages don't all look the same. Associate the check point to a variable or use '.exist(1)' if it is TRUE then you know what page you are on regardless of the buttons and their particular properties (all being the same). This is your answer. No need ot make it confusing. |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| intervw question faced in ness technologies | mrajeshtnl | 1 | 451 |
02-27-2012 07:47 PM Last Post: inborntester |
|
| Interview Question | Sweetyrav | 5 | 2,801 |
01-05-2012 05:48 PM Last Post: sshukla12 |
|
| QTP Interview Questions Please help | Oceans Blue | 10 | 8,738 |
01-05-2012 01:28 PM Last Post: shivu.hanu |
|
| qtp interview question-1 | rvrbabu434 | 0 | 950 |
12-26-2011 12:36 PM Last Post: rvrbabu434 |
|
| qtp interview question | rvrbabu434 | 3 | 1,031 |
12-25-2011 11:13 PM Last Post: chandan |
|
User(s) browsing this thread: 1 Guest(s)
|
|

Search
Member List
Calendar
Help




