Let me know 5 disadvantage of xpath and data driven framework?

381 views
Skip to first unread message

Sumit Mishra

unread,
Jun 23, 2014, 8:48:02 AM6/23/14
to seleniu...@googlegroups.com
Hello All,

Let me know 5 disadvantage of xpath and data driven framework?

Thanks
Sumit

Muzzamil

unread,
Jun 23, 2014, 9:19:49 AM6/23/14
to seleniu...@googlegroups.com
Disadvantages of data-driven testing

The disadvantages of the Data-Driven test automation framework are as under:

a) This calls for great expertise of scripting language required by the automation tool.

b) For every test case we need many data-files. According to the number of screens being accessed we may have many data-inputs and may require many verifications. Hence the test case needs to keep the data-files in different directories.

c) The test engineer is required to re-enter the test plan data in various concerned data files in addition to managing the detailed test plan.

d) In case for creating & maintaining the data-files, we use text editor like Notepad, extra care is needed in having the desired format needed by the functions or scripts which would process the concerned files; otherwise we shall get script-processing errors due to incorrect data-file format or its content.


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/29a7975a-369a-46ad-897d-2f779fad95e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sumit Mishra

unread,
Jun 23, 2014, 11:28:21 PM6/23/14
to seleniu...@googlegroups.com
Hello Muzzamil,

Thank you for update. I have already read this.  Please let me know 5 disadvantage of xpath.


Thanks and Regards
Sumit Mishra
Software Engineer.
Innodata India Pvt. Ltd.
C-25, 7th Floor, Stellar IT Park,
Sector-62, Noida, India.

Phone(M): +91 9213763438, +91 9899384187



Krishnan Mahadevan

unread,
Jun 24, 2014, 12:01:32 AM6/24/14
to Selenium Users
This sounds like an interview question more than anything else. What have you done to figure this out on your own ?

Have you played around with xPath enough ? Once you do, you should be able to realize some of its cons!

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


Sumit Mishra

unread,
Jun 24, 2014, 3:01:00 AM6/24/14
to seleniu...@googlegroups.com
Hello Krishnan,

Yes, This is interview question and I want to crack the interview so that I have posted this question in Selenium Group. I am new in selenium and I did not find any disadvantage more then complexity of writing xpath. I am looking answer any experience person who can help me on this.



Thanks and Regards
Sumit Mishra
Software Engineer.
Innodata India Pvt. Ltd.
C-25, 7th Floor, Stellar IT Park,
Sector-62, Noida, India.

Phone(M): +91 9213763438, +91 9899384187



Shadaab

unread,
Jun 24, 2014, 5:05:47 AM6/24/14
to seleniu...@googlegroups.com
You mean Using data driven framework here is not an good idea?

Is that the pros of DD Frameworks is much less than cons?

I need this answer because i too using same DD frameworks. if it is not better idea please let me know its alternate one.

Thanks & Regards
Shadaab


Jim Evans

unread,
Jun 24, 2014, 7:19:57 AM6/24/14
to seleniu...@googlegroups.com
Wow. That takes real guts, admitting you're posting here looking for the answer to an interview question. We generally frown on those here. It's one thing to be genuinely curious as to the reasons for something about Selenium; it's quite another to post a specific question, asking for a specific answer, only for the purpose of "cracking the interview." The answer can be found on the web in blog posts, other posts to this mailing list, and other documentation. Asking in the manner you have here (with no indication of your own thought processes, what you've tried to search on, what you think the answer might be) shows a lack of effort that would give me grave concerns as a hiring manager. I sincerely hope your interviewer is monitoring the mailing list, so they realize that you don't *actually* have the knowledge that the answers you're giving in the interview would indicate that you have.
Reply all
Reply to author
Forward
0 new messages