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

Go Back   Techist - Tech Forum > Techist Forum Information > New Member Introductions
Click Here to Login
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.
Regards,
Ray
__________________
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



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 06:07 AM.


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