Exception : missing ) after argument list - Techist - Tech Forum

Go Back   Techist - Tech Forum > Techist Forum Information > New Member Introductions
Closed Thread
Thread Tools Display Modes
Old 02-11-2010, 02:41 PM   #1 (permalink)
Virgin Techie
Join Date: Feb 2010
Posts: 0
Default Exception : missing ) after argument list

I'm trying to get a statement to work but having this problem of double quote escape. My programs throws the error: Exception : missing ) after argument list

For you reference my statement is:

selenium.isElementPresent(\"//div[@id='moreChoicesCampList']//div[@class='BasicContainer CampaignBoxOfferRow']//div[@class='MenuBoxSubTitle campBoxesClipName' and @title=\""
+ _global_sponsor_title + "\"]\");

_global_sponsor_title: Everybody's Record. the xpath has tthe problem in reading single quote. Hence I try to use double quote which solves the quote conflict. It would be great if you can help me in solving the quote conflict. I want it to look something like:

selenium.isElementPresent(\"//div[@id='moreChoicesCampList']//div[@class='BasicContainer CampaignBoxOfferRow']//div[@class='MenuBoxSubTitle campBoxesClipName' and @title="Everybody's Record"]\");

Please help.
shola is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hijackthislog + malwarebyte Drizzt HijackThis Logs (finished) 18 12-17-2009 08:30 PM
Hijack log JB Rekit HijackThis Logs (finished) 3 11-02-2009 11:15 AM
Log for Analysis, Please! xfileluv HijackThis Logs (finished) 5 06-26-2009 07:28 AM
HJT Log 2/28 dog111 HijackThis Logs (finished) 3 03-01-2009 09:52 PM
my log Max Power HijackThis Logs (finished) 10 06-07-2007 10:56 PM

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 04:18 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.