Same code on the tests page also returns "transparent".

17:56:13.824 INFO - Command request: open[http://dogself.com/
telluriumTest/test.htm , ] on session 1b9bce52c2b542659a261af917a07e35
17:56:13.824 WARN - you appear to be changing domains from
http://www.sports.dev.ham.uk.betfair to 
http://dogself.com/telluriumTest/test.htm
this may lead to a 'Permission denied' from the browser (unless it is
running as *iehta or *chrome,
or alternatively the selenium server is running in proxy injection
mode)
17:56:16.262 INFO - Got result: OK on session
1b9bce52c2b542659a261af917a07e35
17:56:29.746 INFO - Command request: getCSS[jquery=#runnerTbody > tr:eq
(0) td[id*=EBP_0], background-color] on session
1b9bce52c2b542659a261af917a07e35
17:56:29.777 INFO - Got result: OK,["transparent"] on session
1b9bce52c2b542659a261af917a07e35

Very strange.


On Jun 11, 5:51 pm, dominicm <[email protected]> wrote:
> The background color of the top right cell is defined further up in
> the HTML, but let's not worry about that one.
>
> When i run $("#runnerTbody > tr:eq(0) td[id*=EBP_0]").css("background-
> color")  in fireBug i get a correct response of
> "rgb(200, 208, 228)", but when I use getCSS on that element from
> Tellurium i still get "transparent" as below.
>
> 17:37:38.692 INFO - Command request: getCSS[jquery=#runnerTbody > tr:eq
> (0) td[id*=EBP_0], background-color] on session
> d8030847993c486782e819f94687ff23
> 17:37:38.707 INFO - Got result: OK,["transparent"] on session
> d8030847993c486782e819f94687ff23
>
> I'll try the same code on the test page.
>
> On Jun 11, 5:27 pm, Mikhail Koryak <[email protected]> wrote:
>
>
>
> > ok, i have reproduced your test.
>
> > It doesnt look like there is anything wrong here. 
> > see:http://dogself.com/telluriumTest/test.htm
>
> > open firebug console and excute the following code:
> > $("#runnerTbody > tr:eq(0) td[id*=ELP_0]").css("background-color");
>
> > now execute:
> > $("#runnerTbody > tr:eq(0) td[id*=ELP_0]");
>
> > this selects the top right table cell, which has no background color.
> > I think you wanted the query to select the top LEFT cell, which does
> > indeed have a background color.
>
> > run this code:
> > $("#runnerTbody > tr:eq(0) td[id*=EBP_0]").css("background-color")
>
> > this will return the color you wanted. Let me know if you think that
> > there is something more weird going on here.
>
> > On Jun 11, 10:40 am, dominicm <[email protected]> wrote:
>
> > > CSS file pasted below.
>
> > > /* File=/css/rules.css */
> > > .rules .eventStartTime { background-color:#fef7da; padding:0 5px
> > > 3px; }
> > > .rules .marketParameters { background-color:#f0f6f7; padding:0 5px
> > > 3px; }
> > > .rules .marketRules { background-color:#f0f6f7; padding:0 5px 3px; }
> > > .rules .numberOfWinners div { padding:5px 0; }
> > > .rules .numberOfWinners span { background-color:#fef7da; border:1px
> > > solid #ccc; padding:3px; }
> > > .rules .runnersRemoved table { border:1px solid #ccc; }
> > > .rules .runnersRemoved th { background-color:#f4e3b1; }
> > > .rules .runnersRemoved td { background-color:#fef7da; text-
> > > align:center; }
> > > .rules .commissionOnMarket { background-color:#f7f7f7; padding:0 5px
> > > 3px; }
> > > .rules .linkingToMarket { background-color:#f7f7f7; padding:0 5px
> > > 3px; }
> > > #bm .rules .border  { border-bottom:1px solid #fff; }
> > > .rules h2 { padding:0; }
> > > .rules a { text-decoration:underline; }
> > > .rules a:hover { text-decoration:none; }
> > > .rules .marketInformation ol { padding-left: 40px; margin-top: 11px;
> > > margin-bottom: 11px; }
> > > .rules .runnersRemoved th, .rules .runnersRemoved td { padding:3px }
> > > /* File=/css/oddsConverter.css */
> > > * html #bm { width:100%; }
>
> > > .oddsConverter {line-height: 2em; width: 33em; position: absolute;
> > > right: 1px; z-index: 10; background-color:#F1F7FD; border: 1px solid
> > > #000000; }
> > > .oddsConverter .oddsConverterHeader {float:left;}
> > > .oddsConverter .oddsConverterLink { float:right; text-decoration:
> > > underline; }
> > > .oddsConverter .oddsConverterRightContainer {padding-top: 1em;}
> > > .oddsConverter .oddsConverterInput {width: 4.6em; margin-bottom:
> > > 0.1em; font-weight: bold; font-size: 1em; text-align: center;}
> > > .oddsConverter .oddsConverterButton {font-size: 1em; margin-left:
> > > 0.2em; margin-right: 1em; }
> > > .oddsConverter .oddsTableContainer {border:1px solid #CCCCCC; width:
> > > 191px; height: 11.2em; overflow-x: auto; overflow-y: visible}
> > > * html .oddsConverter .oddsTableContainer { width:191px; }
> > > .oddsConverter .oddsConverterLabel {top: 1em;}
> > > .oddsConverter .oddsConverterTable td {white-space:nowrap; width:
> > > 4.6em; padding: 0.6em 0.9em; text-align: center; border-right: solid
> > > 1px #FFFFFF;}
> > > .oddsConverter .oddsConvertorDecimal td {background-color:#D2E1E9;
> > > font-weight: bold;}
> > > .oddsConverter .oddsConvertorDecimal .selected {background-
> > > color:#F2F6F9;}
> > > .oddsConverter .oddsConvertorFraction .selected {background-
> > > color:#FAFCFC;}
> > > .oddsConverter .closestOdds { display: none; font-weight: bold;}
> > > .oddsConverter .errorMessage { font-weight: bold; }
> > > .oddsConverterLabelTable td {padding-top: 0.25em; padding-bottom:
> > > 0.25em;}
> > > .oddsConverter .impliedProbabilityResult {text-align: center; width:
> > > 4.6em;}
>
> > > .oddsConverter .oddsConverterCloseBtn {/*display:none;*/
> > > float:right;cursor: pointer;}
> > > .oddsConverter .clearBoth {clear:both;}
> > > /* File=/css/runners.css */
> > > /* Runner Headers */
> > > .runnerHeaderTable { width: 100%; border-top: 1px solid #ccc; border-
> > > bottom: 1px solid #ccc; }
> > > .runnerHeaderContainer { /*padding: 2px 0 0 0;*/ border-bottom: 1px
> > > solid #fff; }
> > > .runnerHeaderContainer .spacerOn { width: 22px; border-top: 1px solid
> > > #ccc; border-bottom: 1px solid #ccc; }
> > > .marketHeaderOuterTable { width: 100%; }
> > > .tableHeader { font-weight: bold; padding: 3px 0 3px 0; }
> > > .runnerHeader { padding-left: 5px; width: 40%; text-align: left;}
> > > .backHeader { width: 30%; text-align: right; border-right: 1px solid
> > > white; /* padding-right: 8px; margin-right: 15px; */ }
> > > .layHeader { width: auto; text-align: left;  border-left:  1px solid
> > > white; /* padding-left: 8px; */}
> > > .buttonWidth_narrow .layHeader { width: 23%; }
> > > .spHeader { background-color: #DDDDDD; }
> > > /* width changes for different view options */
> > > .tableHeaderSpacer { width: 5px; }
>
> > > .actual_sp { color:#666666;cursor:default;text-align:center;background-
> > > color: #DDDDDD; }
>
> > > .sp .runnerHeader { width: 36%; }
> > > .projectedPrice .runnerHeader { width: 27%; }
> > > .spWithoutLay .runnerHeader { width: 40%; }
> > > .spReconciled .runnerHeader { width: 43%; }
>
> > > .sp .backHeader { width: 24%; }
> > > .projectedPrice .backHeader { width: 24%; }
> > > .spReconciled .backHeader { width: 24%; }
>
> > > .sp .spHeader { width: 16%; white-space: nowrap;}
> > > .projectedPrice .spHeader { width: 24%; white-space: nowrap;}
> > > .spWithoutLay .spHeader { width: 20%; white-space: nowrap;}
> > > .spReconciled .spHeader { width: 8%; white-space: nowrap;}
>
> > > .sp .layHeader { width: 24%; }
> > > .projectedPrice .layHeader { width: 24%; }
> > > .spReconciled .layHeader { width: 24%; }
>
> > > /* Runner Table Style */
> > > .runnerList { overflow: auto; }
>
> > > .runnerTable { width: 100%; padding: 0; margin: 0; text-align:
> > > center; }
> > > .runner { height: auto !important; }
> > > .runner .info { width: auto; padding: 0 2px; border-color: white white
> > > #ccc white; font-weight: bold; text-align: left; }
> > > .runner .info .table { width: auto; }
> > > .runner .info a { white-space: nowrap; width: auto; color: #000;
> > > cursor:pointer; display: block;}
> > > .runner .info a:hover { color:#095ba6; text-decoration:none; }
> > > .runner .info .chart { height:11px; width:16px; background:url(../img/
> > > chart.gif) no-repeat; cursor:pointer; }
> > > .hasActualPnL  .runner .info .chart { padding-bottom: 11px; }
> > > .enhancedMarket .runner .info .chart { padding: 0; margin: 0;  }
> > > .runner .info .id,
> > > .runner .info .stall { font-size: 70%; }
>
> > > .runner .info .id div { width: 18px; }
> > > .runner .info .stall div { width: 28px; }
>
> > > .runner .info .silk { height:23px; width:34px; }
> > > .runner .info .runnerName,
> > > .runner .info .jockey {
> > >         white-space: nowrap;
> > >         width: 100%;
>
> > > }
>
> > > .runner .mdCell { text-align: center; border:1px solid #ccc;
> > > cursor:pointer; }
> > > .runner .b1,
> > > .runner .bsp,
> > > .runner .l1,
> > > .runner .lsp {
> > >         height: 28px;
> > >         text-align: center;
> > >         border:1px solid #666;
>
> > > }
>
> > > .buttonWidth_wide .runner .buttonWidth { width:10%; }
> > > .buttonWidth_narrow .runner .buttonWidth { width:8%; }
> > > .buttonWidth_wide .runnerHeaderTable .buttonWidth { width:10%; }
> > > .buttonWidth_narrow .runnerHeaderTable .buttonWidth { width:8%; }
>
> > > .displayMarketDepth_false .runner .mdCell { border:0; border-bottom:
> > > 1px solid #ccc; color:#fff; cursor:default;}
> > > .displayLayPrices_false .runner .layDisplay { display: none;}
>
> > > .rightSpacer { width: 20%; border-bottom:1px solid #ccc; }
> > > .buttonWidth_narrow .rightSpacer { width: 16%; }
>
> > > .runner .price { display: block; }
> > > .runner .sptext { display: block; position: relative; top: 5px; }
>
> > > .runner .buttonAppearance { height: 26px; border: 1px solid #ccc;
> > > cursor:pointer; }
> > > .ieOnly .runner .buttonAppearance { height: 28px; }
> > > .runner .buttonAppearance { border-color: white #718BC0 #718BC0
> > > white; }
> > > .layColour_red    .runner .lay .buttonAppearance { border-color: white
> > > #b14e9e #b14e9e white; }
> > > .layColour_green  .runner .lay .buttonAppearance { border-color: white
> > > #b9b99d #b9b99d white; }
> > > .layColour_yellow .runner .lay .buttonAppearance { border-color: white
> > > #adad01 #adad01 white; }
>
> > > .allBackPressed .b1 .buttonAppearance, .runner .pressedBack 
> > > .buttonAppearance
> > > {border-color: #718BC0 white white #718BC0; background-color:
> > > #B8C1DA;}
> > > .runner .b1 .unpressed { background-color:#c8d0e4; border-color:#fff
> > > #718bc0 #718bc0 #fff;}
>
> > > .layColour_red    .allLayPressed .l1 .buttonAppearance, .layColour_red    
> > > .runner .pressedLay .buttonAppearance
> > > {background-color:#ddadca; border-color:#b14e9e #fff #fff #b14e9e;}
> > > .layColour_red    .runner .l1 .unpressed { background-color:#e4b8d7;
> > > border-color:#fff #b14e9e #b14e9e #fff;}
> > > .layColour_green  .allLayPressed .l1 .buttonAppearance, .layColour_green  
> > > .runner .pressedLay .buttonAppearance
> > > {background-color:#dfdfc1; border-color:#b9b99d #fff #fff #b9b99d;}
> > > .layColour_green  .runner .l1 .unpressed { background-color:#ececd5;
> > > border-color:#fff #b9b99d #b9b99d #fff;}
> > > .layColour_yellow .allLayPressed
>
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to