I'm trying to select month, year and date from calendar date-picker. I'm writing my script using pom &amp; page factory approach. I'm not able to pass the date I selected to the variable named TodayDate. Can someone please tell me why TodayDate = null.               JSClickWithWaitTime(sf.StartDateEST_SF, 60); // clicked on date field              waitForElementBeVisible(sf.CalendarDateReceived_SF, 100);            //JSClickWithWaitTime(sf.StartDateEST_SF, 60);             Assert.assertTrue(sf.CalendarDateReceived_SF.isDisplayed()); // asserted that the calendar is displayed.                         selectValueFromDD(sf.MonthFromDateReceived_SF, "Mar");               selectValueFromDD(sf.YearFromDateReceived_SF, "2020");             JSClickWithWaitTime(sf.DayFromStartDate_SF, 3000);             click(sf.StartDateEST_SF);             String TodayDate = sf.DayFromStartDate_SF.getAttribute("03/17/2020"); // Save the date into the variable TodayDate             System.out.println("Today's date is = " +TodayDate);                    Assert.assertEquals("03/17/2020", sf.StartDateEST_SF);  The console will display the below result: Element is Clicked by the JS. Mar is selected 2020 is selected Element is Clicked by the JS. Today's date is = null
I have the following element element(by.css(&quot;span[aria-label='Picker ID, TESTUSER']&quot;)  I want to assure the text on this filed is TESTUSER, so I tried:  expect(element(by.css(&quot;span[aria-label='Picker ID, TESTUSER']&quot;)).getAttribute('value')).toEqual('TESTUSER');  then I got the error: Expected null to equal 'TESTUSER' So I tried: element(by.css(&quot;span[aria-label='Picker ID, TESTUSER']&quot;)).getText().then(function (value) {         console.log(value);       })  And I got this error: Expected '' to be 'TESTUSER'.  How to get the value of this field and expect it is TESTUSER?
Redshift and conformal time What is the relationship between redshift and conformal time ?   For example in a paper i found:   taking $z_e = 3234 $ at the time of radiaton-matter equality yields the conformal time $\frac{\eta_e}{\eta_0} = 0.007$ and taking $z_E=0.39$ at matter-$\Lambda$ equality yields $\frac{\eta_E}{\eta_0}=0.894$ and setting redshift at decoupling $z_d=1089$ yields $\frac{\eta_d}{\eta_0} = 0.0195$  where $\eta_0$ is the present decoupling time.  Further some cosmological parameters are given as :  $\Omega_r = 8.36 \times 10^{-5}, \Omega_m = \Omega_b + \Omega_{dm} = 0.044 +0.226, \Omega_\Lambda = 0.73,  H_0=0.72$  Now how can i calculate all those $\eta_e, \eta_E, \eta_d, \eta_0$ from given redshift values and/or above parameters ? I searched whole of my text books trying to find an explicit relation for conformal time $\eta$ but all i got was $ \mathrm{d}t=a(t)\mathrm{d}\eta$. Any help would be very helpful. Since the equation of mechanics are of second order in time, we know that for $N$ degrees of freedom we have to specify $2N$ initial conditions. One of them is the initial time $t_0$ and the rest of them, $2N-1$ are initial positions and velocity. Any function of these initial condition is a constant of motion, by definition. Also, there should be exactly $2N-1$ algebraically independent constants of motion.  On the other hand, Noether's procedure gives us integrals of motion as a result of variational symmetries of the action. These integrals of motion are also conserved but they are not always $2N-1$ in number. In consequence, we classify the system by their integrability.  So, what is the difference between the  and ? Why do non- have less integrals of motion when they should always have $2N-1$ constants of motion? What is the justification for locking votes? Why am I not allowed to change my vote after some period of time? There are times when I go back to things I voted on, and decide they didn't deserve that specific vote. (I get wiser as I grow older) If I know that a certain key has been pressed (eg Key.D3), and that the Shift key is also down (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift)), how can I find out what character that refers to (eg, # on US keyboard, UK pound sign on UK keyboard, etc)?  Put another way, how can I find out, programatically, that Shift + 3 produces # (it wouldn't on a non-US keyboard). I am making a test where I am asked to add the missing words.     [...] chair is [...] useful piece of furniture.    I would have said that a is the missing word in both the cases, but the test says the words I should have added are the and a respectively.     [...] last time I saw [...] bear, I was travelling in [...] Europe.   I would have added: nothing, a, nothing. The correct answer is: the, a, nothing.  Why is the the correct article to use in both the sentences? Once in a while you wish to address a comment to someone in particular, so you type @ and then you pause ... because the username is  or .  Short of using copy-paste to get their username right (which is even more cumbersome on a mobile device), is there another way around this? In a few cases I've noticed that the system will attempt to "promote" a comment to a reply, but I'm not sure if that's very reliable.  Should user names at least start with a normal letter?  Update  The auto-complete feature seems to normalize Zalgo'ish usernames, so typing the letter L will trigger the suggestions as expected; this is of course knowing that the name actually spells "lawrence", which may not always be obvious.  Knowing the way of the symbol ninja would surely help to type Ω using only the elbows as well, but not everyone is blessed with the same keyboard layout.  Suggestion  It would be nice to have a reply feature like this:        When ↳ reply is clicked, it will automatically populate the comment box with @username pre-filled in.   Additional notes  To clarify, I'm not suggesting to put the "reply" on all comments, as proposed , because in most cases the owner of a post is already notified of a new comment; this would strictly be to effect cross-commenter communication. Input form label alignment top or left? Paucity of words for relationships Please refer the following questions asked elsewhere on this site:       I am a native Hindi speaker; Hindi has a plethora of terms referring to relationships. To take a trivial example, the term uncle may refer to father's elder brother, father's younger brother, mother's brothers, father's sister's husband, mother's sister's husband, all of which have specific addresses in Hindi.  I discussed the same with one of my teachers. She had the opinion that the development of language mirrors the cultural moorings of the society that uses the language. Now, since all of the above relationships have distinct status and reverence in the Hindi speaking society, that calls for different addresses. That may well not be the case in English speaking societies.  Is that correct? What other linguistic reasons may account for such a dearth of vocabulary in English in this area? I've got a recipe that calls for some buttermilk, but none on-hand. Is there some way I could use some common ingredient(s) as a substitute? My textbook states that:  ...The capacitance $C$ depends only on the geometrical configuration (shape, size, separation)of the system of two conductors. [As we shall see, later, it also depends on the nature of the insulator (dielectric) separating the two conductors.]...  Now I wanted to know if these were the only two factors on which the capacitance of a conductor depends. So I tried thinking about it from the basic definition, which is:  Capacitance is the ratio of the change in electric charge of a system to the corresponding change in its electric potential. (Source: )  i.e., $$C= \frac {dQ}{dV}$$ where, $V$ is the potential of the conductor with respect to zero potential at infinity. Now, I can not think of why $C = f(V)$ isn't a possible scenario, assuming that shape size, etc remains constant. So:  Why cannot $C$ be a function of $V$? How to prove floor identities? Can ribosomes read ssDNA? My question is whether translation can be done, either naturally or artificially, through a ribosome reading (single-stranded) DNA directly. If not, I would like to know what allows ssRNA to be translated but not ssDNA. We had a small widget that allowed customers to share records that were set to a private sharing model in our community. Everything was rather simple and it would simply allow them to select users that were visible via Sharing Sets and create an __Share record in APEX.  I've been reported recently that an error is thrown but only on the community side of things. Nothing seems to be working where it was working. We are using    Customer Community Plus licenses.  The error being thrown is : System.TypeException: DML operation INSERT not allowed on &lt;Object&gt;__Share which seemed to indicate access not available on the object. That seems odd because they are able to interact with the object just fine in order to create/edit/delete them.  I looked up the Sharing Model (its private both internally and externally), I looked at the profile and their access and the sharing sets in the community. Like I said, they seem to interact fine with the objects when it comes to seeing the records and their right.  Additionally, standard license users can use the component fine and also share with community users without a problem. They also see the records as expected.  Am I missing an update or something that seem to make it so this doesn't work anymore? Anyone having trouble with this or encountered the same problem? "India has" or "India have" How To Display Too Much Data We're building a web-based platform where the main dashboard shows a table of data for users to view and analyze. As we're growing this tool, we seem to be adding more and more columns and are running out of horizontal space on smaller screen resolutions (we're seeing some data wrap). It is important to the user to view all columns at once, so column hiding is somewhat out of the question, as is horizontal scrolling (per the boss's request and because horizontal scrolling sucks anyways). I was wondering if anyone knew of a clever UI for tables with many columns.  EDIT  Below is a screen capture of the layout of the table. Unfortunately for security purposes I had to blur out the column titles. This example has rows with practically no data in them, but in use they will have lots of data that will expand wider than their respective column titles. In response to some of the answers, it is imperative that the user see all the columns, as they are all necessary to analyze the data to make certain decisions. All the data is numeric aside from the first three columns. Thanks again for any feedback.    Ok so I see that uploading this image doesn't really do it justice... it takes up the full width of the screen at 1680x1050 resolution (22") and as data fills in the columns, the left column w/the text shrinks down a bit.  EDIT 2 I just wanted to say thank you to everyone's awesome ideas. I can only select one answer, but a lot of your ideas have proven very useful and may end up in the final product. Thanks again! What is an quick way to create a new blank file in Lion? In Windows, one can create a new file using Right Click -> Add New -> Type of File. Is there an analogous action in Lion?  I just want to create a new blank file on my Desktop. Proving set of interiors is open Is there a way to set app-specific volume? How can I safely prototype a mains power circuit? I'm building a device that has a mains power component, which I need to prototype before building to make sure everything works. I know I need to make sure wiring—and insulation!—is thick enough to cope with the higher current, and that I need to make sure there's enough space between exposed components so there's no arcing. I'll also be stashing whatever I prototype in a nice, insulated box before applying power, and I'll be include a small-value (250mA) fuse just in case. I'll be considering everything double-insulated rather than earthed (plastic enclosure, and there's nothing I'll need to touch while it's operating).  My plan is to solder (through-hole) components directly to each other, then insulate everything (with heatshrink tubing or electrical tape) as much as possible, then use screw-type cable joiners to connect the power cable.  I know I can't use traditional prototyping tools such as breadboards and stripboard for mains voltages, but what can I use to make prototyping at mains voltages easier?  (To be clear, 'mains voltage' in my area means 230V AC +10/-6% at 50Hz; GPOs are generally rated at 10A.) Suffixes indicating people and language of country vary by country:  _an: American, German, Italian, Belgian, Australian, Russian, Ukrainian, Korean,  Mexican, Brazilian, Chilean, Argentinean, Indonesian, Malaysian, Iranian, Egyptian, Somalian, Palestinian  _sh: English, British, Polish, Danish, Swedish, Turkish,    _ch: French, Dutch  _ese: Chinese, Taiwanese, Japanese, Vietnamese, Portuguese  _no: Filipino, Latino  _i: Israeli  _: Thai  Among the above, _an seems to outnumber other suffixes.  Are there any simple rule to govern appropriation of suffix turning a country name into adjective, indicating people and language of countries in the world in terms of say, region, race, or cultural background? Or is it just discretional?